Add dissect and sort alias

This commit is contained in:
tke
2024-05-24 08:12:28 +02:00
committed by Tobias Kessels
parent bbfff007f8
commit a9ccc8cd27

View File

@@ -54,3 +54,5 @@ if (hash bat 2>/dev/null) ; then
fi fi
function unsetproxy() { unset $(env | grep -Pio '^https?_proxy' | xargs) ; } function unsetproxy() { unset $(env | grep -Pio '^https?_proxy' | xargs) ; }
hash fdfind && alias fd=fdfind hash fdfind && 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-; }