Add shell aliases
parent
d41e65e145
commit
0f44d5ec20
|
@ -0,0 +1,10 @@
|
|||
# From https://mastodon.xyz/@CarlCravens/105758509287927276
|
||||
alias clear='clear; tput cup $LINES 0'
|
||||
|
||||
tmm(){
|
||||
if [ -z $1 ]; then
|
||||
tmux attach-session -t 0 || tmux
|
||||
else
|
||||
tmux attach-session -t $1 || tmux new-session -t $1 || tmux
|
||||
fi
|
||||
}
|
Loading…
Reference in New Issue