25 lines
520 B
Bash
25 lines
520 B
Bash
# Tmux
|
|
if [[ -z "${TMUX}" ]]; then
|
|
if ! tmux has-session; then
|
|
eval $(ssh-agent)
|
|
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'
|