diff --git a/.config/shell/debian b/.config/shell/debian index d090778..3593ecb 100644 --- a/.config/shell/debian +++ b/.config/shell/debian @@ -1,8 +1,5 @@ which apt >/dev/null || return 0 -which fd >/dev/null || alias fd='fdfind' -which bat >/dev/null || alias bat='batcat' - addalternative() { sudo update-alternatives --install /usr/bin/$1 $1 "$(which "$1$2")" 1 } diff --git a/.local/bin/scripts/edconf b/.local/bin/scripts/edconf index 2f15a29..5c87ffe 100755 --- a/.local/bin/scripts/edconf +++ b/.local/bin/scripts/edconf @@ -4,7 +4,7 @@ alias dedup='awk '"'"'!a[$0]++'"'" listconf() { { 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 \ -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" \