# a file containing all my aliases
# sourced at launch
# Verbosity
alias cp="cp -iv"
alias mv="mv -iv"
alias rm="rm -vI"
alias bc="bc -ql"
alias mkd="mkdir -pv"
alias yt-dlp="yt-dlp --embed-metadata -iv"
alias rsync="rsync --progress"
# Colors
alias diff="diff --color=auto"
alias grep="grep --color=auto"
alias ip="ip -color=auto"
alias ls="ls --color=auto"
# Handy stuff
alias abcde="abcde -c $XDG_CONFIG_HOME/abcde/config"
alias abook="abook --config $XDG_CONFIG_HOME/abook/abookrc --datafile $XDG_DATA_HOME/abook/addressbook"
alias backup='rsync -aAXv --exclude={"/dev/*","/proc/*","/sys/*","/tmp/*","/run/*","/mnt/*","/media/*","/lost+found"} /'
alias dotfiles="/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME"
alias irssi="irssi --config=$XDG_CONFIG_HOME/irssi/config --home=$XDG_DATA_HOME/irssi"
alias ll="ls -lh"
alias la="ls -lah"
alias pip-upgrade="pip freeze --user | cut -d'=' -f1 | xargs -n1 pip install -U"
alias podget="podget --dir_config $XDG_CONFIG_HOME/podget"
alias printenv="printenv | sort"
alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts"
alias yta="yt-dlp -x -f ogg/6"
# Website
alias root@site="ssh root@davidjulien.xyz"
alias swytch@site="ssh swytch@davidjulien.xyz"