add tmux aliases

This commit is contained in:
Daylin Morgan 2023-01-03 15:14:25 -06:00
parent e2a2edd8dc
commit 0caec0dee0

View file

@ -28,7 +28,15 @@ fi
is-executable lazygit && alias lg=lazygit is-executable lazygit && alias lg=lazygit
# source custom tmux.conf with older tmux # source custom tmux.conf with older tmux
alias tmux="tmux -f ~/.config/tmux/tmux.conf" alias tmux="tmux -f ~/.config/tmux/tmux.conf"
# Attaches tmux to the last session; creates a new session if none exists.
alias t='tmux attach || tmux new-session'
alias ta='tmux attach -t'
alias tn='tmux new-session'
alias tl='tmux list-sessions'
alias rc="rclone --filter-from ~/.config/rclone/filter-file.txt" alias rc="rclone --filter-from ~/.config/rclone/filter-file.txt"
# prefer lvim > nvim > vim # prefer lvim > nvim > vim