Mercurial > hg > zsh-env
comparison zshrc @ 104:b3ffe2fba3ac
Add aliases for screen
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Fri, 11 Nov 2016 02:48:32 +0100 |
parents | a081e7a3977d |
children | 4c87719f258c |
comparison
equal
deleted
inserted
replaced
103:a21fd4a29ff8 | 104:b3ffe2fba3ac |
---|---|
33 hgrep() { history | grep $* } | 33 hgrep() { history | grep $* } |
34 mcd() { mkdir $1; cd $1 } | 34 mcd() { mkdir $1; cd $1 } |
35 psg() { ps auxww | grep -v grep | grep -i "$@" } | 35 psg() { ps auxww | grep -v grep | grep -i "$@" } |
36 alias pd=pushd | 36 alias pd=pushd |
37 alias history="history 1" | 37 alias history="history 1" |
38 alias sl='screen -ls' | |
39 alias sn='screen -S' | |
40 alias sr='screen -r' | |
38 alias ta="tmux attach -t" | 41 alias ta="tmux attach -t" |
39 alias tl="tmux list-sessions" | 42 alias tl="tmux list-sessions" |
40 alias tn="tmux new -s" | 43 alias tn="tmux new -s" |
41 | 44 |
42 # no history handling for now ... or find a better way to save history per shell not across all shells | 45 # no history handling for now ... or find a better way to save history per shell not across all shells |