From 3d51d02379386146bc0d0e22d867f9fb72db68f1 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 17 Oct 2021 15:04:16 -0700 Subject: [PATCH 1/2] zsh: remove useless aliases --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 1ca3f3f..56c0d4b 100644 --- a/.zshrc +++ b/.zshrc @@ -502,6 +502,9 @@ zstyle ':completion:*' use-cache on zstyle ':completion:*' cache-path $ZSH_CACHE_DIR WORDCHARS=${WORDCHARS//\/[&.;]} # Don't consider certain characters part of the word + + # just gonna sneak this in here, too + unalias zi zpl zini zplg which-command run-help } # <<< ## Keybindings >>> From 0889ecdf390658fea255e203777a6e0521d85f75 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Mon, 18 Oct 2021 01:25:00 -0700 Subject: [PATCH 2/2] zsh: babe, wake up! new alias just dropped! --- .zshrc | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index 56c0d4b..83f2c63 100644 --- a/.zshrc +++ b/.zshrc @@ -121,20 +121,23 @@ # lists all open ports, along with some other info alias ls-ports='netstat -tulpn' - + + # list all disks and their mount points + alias mnt="mount | awk -F' ' '{ printf \"%s\t%s\n\",\$1,\$3; }' | column -t | grep -E '^/dev/' | sort" + # backs up list of packages alias packback='comm -23 <(paru -Qqett | sort) <(paru -Qqg base -g base-devel | sort | uniq) > ~/pkglist.txt' - + # smart plug things SMART_PLUG_IP='192.168.1.250' alias l='tplink_smartplug.py -t $SMART_PLUG_IP -c' - + # Common ls aliases alias \ la='ls -ah' \ ll='ls -lh' \ lla='ls -lah' \ - + # find pretty much any file, quickly alias fds='fd --hidden --exclude /run'