comparison zshrc @ 58:93e011f2a836

add aliases for tmux
author Dirk Olmes <dirk@xanthippe.ping.de>
date Fri, 30 Jan 2015 11:49:47 +0100
parents c509ce04abad
children 582fde73557e
comparison
equal deleted inserted replaced
57:16bf58b634d5 58:93e011f2a836
31 hgrep() { history | grep $* } 31 hgrep() { history | grep $* }
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"
37 alias tx="tmux new -s"
36 38
37 # no history handling for now ... or find a better way to save history per shell not across all shells 39 # no history handling for now ... or find a better way to save history per shell not across all shells
38 export HISTFILE= 40 export HISTFILE=
39 export HISTSIZE=100 41 export HISTSIZE=100
40 42