[alias] cleanup: remove unused aliases + add useful ones
This commit is contained in:
parent
8e74752fb6
commit
3c3ee82f26
@ -1,25 +1,35 @@
|
||||
# a file containing all my aliases
|
||||
# sourced at launch
|
||||
|
||||
alias cp='cp -v'
|
||||
alias mv='mv -v'
|
||||
alias rm='rm -v'
|
||||
alias rsync='rsync --progress'
|
||||
alias grep='grep --color=auto'
|
||||
alias ls='ls --color=auto'
|
||||
alias ll='ls -lh'
|
||||
alias la='ls -lah'
|
||||
alias bulkrename='\ls | $EDITOR - -c ":%s/.*/mv -i & &/g"'
|
||||
# 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 printenv='printenv | sort'
|
||||
alias gu='git fetch upstream && git merge upstream/master'
|
||||
alias unimatrix='unimatrix -a -f -s=95'
|
||||
alias untar='tar -zxvf'
|
||||
alias root@site='ssh root@davidjulien.xyz'
|
||||
alias swytch@site='ssh swytch@davidjulien.xyz'
|
||||
alias dotfiles='/usr/bin/git --git-dir=$DOTFILES --work-tree=$HOME'
|
||||
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 pip-upgrade="pip freeze --user | cut -d'=' -f1 | xargs -n1 pip install -U"
|
||||
alias wget="wget --hsts-file=$XDG_CACHE_HOME/wget-hsts"
|
||||
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"
|
||||
|
Reference in New Issue
Block a user