From 1e3a049077cff99fc1a99b922aa549ce9d2a136f Mon Sep 17 00:00:00 2001 From: Hekuran Date: Wed, 10 Mar 2021 09:44:06 +0100 Subject: [PATCH] update aliasrc now you don't have to write `sb-` in a shell --- .config/shell/aliasrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 107ecb8c..3c30e672 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -11,6 +11,11 @@ for x in mount umount sv pacman updatedb su ; do alias $x="sudo $x" done +# Write minimally +for x in $(ls -A ~/.local/bin/statusbar) ; do + alias "${x#*-}"=$x +done + # Verbosity and settings that you pretty much just always are going to want. alias \ cp="cp -iv" \