Added alias for trash, repaired "drd" alias

This commit is contained in:
Tobias Schmidl 2019-12-10 05:26:49 +01:00
parent e9031e45a2
commit a84a32b9fc

View file

@ -13,6 +13,8 @@ alias config='/usr/bin/git --git-dir=$HOME/.cfg/ --work-tree=$HOME'
alias pygmentize='pygmentize -O style=solarizeddark'
alias ra='ranger'
[ -x "$(which trash)" ] && alias rm=trash
function mkcdir () {
mkdir -p -- "$1" &&
cd -P -- "$1"
@ -38,10 +40,10 @@ then
then
alias aar='sudo apt-get --purge autoremove'
alias adbu='sudo $apt_pref -t ${current_dist}-backports $apt_upgr'
alias drd='[ -n "$all_dkms_packages" ] && sudo dpkg-reconfigure $all_dkms_packages'
alias drd='[ -n "$all_dkms_packages" ] && sudo dpkg-reconfigure ${all_dkms_packages%% }'
else
alias aar='su -lc "apt-get --purge autoremove"'
alias adbu='su -lc "$apt_pref -t ${current_dist}-backports $apt_upgr" root'
alias drd='[ -n "$all_dkms_packages" ] && su -lc "dpkg-reconfigure $all_dkms_packages" root'
alias drd='[ -n "$all_dkms_packages" ] && su -lc "dpkg-reconfigure ${all_dkms_packages%% }" root'
fi
fi