setup-cockpit/dotfiles/bash/bash_aliases

22 lines
545 B
Bash

alias lime2connect='ssh flyingscorpio@2px.info'
alias fish='fish ~/.config/fish/functions/my_aliases.fish && fish'
alias rm='rm -I --preserve-root'
alias ll='ls -lh'
alias lla='ls -lArth'
alias la='ls -A'
alias l='ls -CF'
alias ccat='highlight --out-format=ansi' # color cat with syntax highlighting
if [ -x /bin/vim ] && [ ! -x /bin/vi ]; then
alias vi='vim'
fi
alias envactivate='source .env/bin/activate'
alias visudo='export EDITOR=$EDITOR && sudo -E visudo'
# For common errors
alias :q=' exit'
alias :x=' exit'
alias cd..='cd ..'