dotfiles/.config/shell/aliases.sh

11 lines
243 B
Bash
Raw Normal View History

2021-07-04 22:37:08 -04:00
# 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
}