29 lines
504 B
Bash
29 lines
504 B
Bash
# vim: set ft=sh sw=2 et :
|
|
alias dos2unix='sed "s/%//"'
|
|
|
|
alias tmux='tmux -2'
|
|
|
|
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
|
|
|