From 8c243c6ed99d3bd72cce55e88340ab08df9b3bd5 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 12 May 2019 10:48:51 +0100 Subject: [PATCH] Remove unused aliases --- files/zshrc/applications.sh | 5 ----- files/zshrc/javascript.sh | 15 --------------- 2 files changed, 20 deletions(-) diff --git a/files/zshrc/applications.sh b/files/zshrc/applications.sh index 3c47820..d72cefb 100644 --- a/files/zshrc/applications.sh +++ b/files/zshrc/applications.sh @@ -33,15 +33,10 @@ gd-unlock() { sessionid=`loginctl list-sessions | grep $USER | awk '{print $1}'` loginctl unlock-session $sessionid } -alias gdl="gd-lock" -alias gdu="gd-unlock" # miscellaneous software aliases alias serve="/usr/bin/python3 -m http.server" -alias vi="vim" alias regen-ssh-conf="assh config build > ~/.ssh/config" -alias yolo="yaourt -Syyau --noconfirm" -alias sc="screenshot --to img" alias clip="xclip -selection clipboard" alias cl="climate" alias tmux-cleanup="tmux list-sessions | grep -v attached | cut -d: -f1 | xargs -t -n1 tmux kill-session -t" diff --git a/files/zshrc/javascript.sh b/files/zshrc/javascript.sh index 3d134a5..d5138df 100644 --- a/files/zshrc/javascript.sh +++ b/files/zshrc/javascript.sh @@ -14,17 +14,6 @@ nb() { fi } -nw() { - if [ $# -eq 0 ]; then - command npm run watch - else - for arg in "$@" - do - command npm run watch-${arg} - done - fi -} - nr() { for arg in "$@" do @@ -32,10 +21,6 @@ nr() { done } -alias nrc="npm run coverage" -alias nrm="npm run mocha" - - nvm() { # This takes ~1sec, so we lazy-load it. unset $0 source "/usr/share/nvm/init-nvm.sh"