comparison zshrc @ 63:a543849b6888

add alias for listing tmux sessions
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 10 Feb 2015 16:06:47 +0100
parents 582fde73557e
children efe5f376e911
comparison
equal deleted inserted replaced
62:16d8d652fcf1 63:a543849b6888
32 mcd() { mkdir $1; cd $1 } 32 mcd() { mkdir $1; cd $1 }
33 psg() { ps auxww | grep -v grep | grep -i "$@" } 33 psg() { ps auxww | grep -v grep | grep -i "$@" }
34 alias pd=pushd 34 alias pd=pushd
35 alias history="history 1" 35 alias history="history 1"
36 alias ta="tmux attach -t" 36 alias ta="tmux attach -t"
37 alias tl="tmux list-sessions"
37 alias tn="tmux new -s" 38 alias tn="tmux new -s"
38 39
39 # no history handling for now ... or find a better way to save history per shell not across all shells 40 # no history handling for now ... or find a better way to save history per shell not across all shells
40 export HISTFILE= 41 export HISTFILE=
41 export HISTSIZE=100 42 export HISTSIZE=100