dootfiles/.shell-aliases

31 lines
527 B
Text
Raw Normal View History

# vim: set ft=sh sw=2 et :
alias dos2unix='sed "s/%//"'
alias tmux='tmux -2'
2024-03-20 10:31:09 -04:00
alias mux='tmuxinator'
if command -v vim >/dev/null 2>&1; then
alias vi=vim
fi
if command -v nvim >/dev/null 2>&1; then
alias vim=nvim
alias vi=nvim
fi
alias ls='ls --color=auto'
alias ll='\ls -l'
alias lla='\ls -la'
alias lt='\ls --color=auto -lhFart'
if command -v lsd >/dev/null 2>&1; then
alias ls='lsd'
alias ll='lsd -l'
alias lla='lsd -la'
fi
alias grep='grep --color=auto'
if [[ -n "$TMUX" ]]; then
alias fzf='fzf-tmux'
fi