You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
494 B
Bash
24 lines
494 B
Bash
# Tmux
|
|
if [[ -z "${TMUX}" ]]; then
|
|
if ! tmux has-session; then
|
|
tmux new-session
|
|
else
|
|
tmux new-window
|
|
fi
|
|
exit
|
|
fi
|
|
|
|
# Config
|
|
alias bashconfig='vim ${HOME}/.bashrc'
|
|
alias gitconfig='git config --global --edit'
|
|
alias termuxconfig='vim ${HOME}/.termux/termux.properties'
|
|
alias vimconfig='vim ${HOME}/.vimrc'
|
|
|
|
# Utils
|
|
alias copy='termux-clipboard-set'
|
|
alias l='ls'
|
|
alias lh='l --human-readable'
|
|
alias ll='lh -l'
|
|
alias la='ll --all'
|
|
alias paste='termux-clipboard-paste'
|