dotfiles/home/.bashrc

24 lines
494 B
Bash
Raw Permalink Normal View History

# 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'