From a9ccc8cd27fe318d1b45cd12dd8a3e2aa2f27bbf Mon Sep 17 00:00:00 2001 From: tke Date: Fri, 24 May 2024 08:12:28 +0200 Subject: [PATCH] Add dissect and sort alias --- config/shell_aliases | 2 ++ 1 file changed, 2 insertions(+) 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-; }