Add shell aliases

old-yadm
earnest ma 2021-07-04 22:37:08 -04:00
parent d41e65e145
commit 0f44d5ec20
No known key found for this signature in database
GPG Key ID: 6B361FA81C5FB695
1 changed files with 10 additions and 0 deletions

10
.config/shell/aliases.sh Normal file
View File

@ -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
}