diff --git a/config/shell_aliases b/config/shell_aliases index a72b8b6..986ff77 100644 --- a/config/shell_aliases +++ b/config/shell_aliases @@ -53,6 +53,6 @@ if (hash bat 2>/dev/null) ; then export MANPAGER="sh -c 'col -bx | bat -l man -p'" fi function unsetproxy() { unset $(env | grep -Pio '^https?_proxy' | xargs) ; } -hash fdfind && alias fd=fdfind +hash fdfind 2>/dev/null && alias fd=fdfind alias dissect="dritpw tabledevil/dissect" function nsrt() { local col=$1; shift; awk -v c="$col" '{print $c, $0}' "$@" | sort -k1,1 -n | cut -d' ' -f2-; }