diff --git a/config/shell_aliases b/config/shell_aliases index 0182eef..a72b8b6 100644 --- a/config/shell_aliases +++ b/config/shell_aliases @@ -54,3 +54,5 @@ if (hash bat 2>/dev/null) ; then fi function unsetproxy() { unset $(env | grep -Pio '^https?_proxy' | xargs) ; } 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-; }