Remove debian aliases

Replaced by symlinks at system level
This commit is contained in:
xeruf 2021-09-21 23:18:44 +02:00
parent b54e1afdf3
commit a6381ef407
2 changed files with 1 additions and 4 deletions

View File

@ -1,8 +1,5 @@
which apt >/dev/null || return 0 which apt >/dev/null || return 0
which fd >/dev/null || alias fd='fdfind'
which bat >/dev/null || alias bat='batcat'
addalternative() { addalternative() {
sudo update-alternatives --install /usr/bin/$1 $1 "$(which "$1$2")" 1 sudo update-alternatives --install /usr/bin/$1 $1 "$(which "$1$2")" 1
} }

View File

@ -4,7 +4,7 @@ alias dedup='awk '"'"'!a[$0]++'"'"
listconf() { listconf() {
{ cat "$conf_cache"; { cat "$conf_cache";
$(which fd || echo fdfind) --hidden --type file --size -1m --max-depth 1 . ~; fd --hidden --type file --size -1m --max-depth 1 . ~;
find "${XDG_CONFIG_HOME:-$HOME/.config}" /etc /var/lib/postgres /var/lib/pleroma/static/instance \ find "${XDG_CONFIG_HOME:-$HOME/.config}" /etc /var/lib/postgres /var/lib/pleroma/static/instance \
-maxdepth 4 -follow \( -name Partitions -o -name mdn -o -name .git -o -name .local \) -prune -o \ -maxdepth 4 -follow \( -name Partitions -o -name mdn -o -name .git -o -name .local \) -prune -o \
! -iname "*.xml" -a ! -iname "*.markdown" -a ! -iname "*.md" -a ! -iname "*.org" \ ! -iname "*.xml" -a ! -iname "*.markdown" -a ! -iname "*.md" -a ! -iname "*.org" \