Remove unused aliases
This commit is contained in:
parent
47cdcd6734
commit
8c243c6ed9
2 changed files with 0 additions and 20 deletions
|
@ -33,15 +33,10 @@ gd-unlock() {
|
||||||
sessionid=`loginctl list-sessions | grep $USER | awk '{print $1}'`
|
sessionid=`loginctl list-sessions | grep $USER | awk '{print $1}'`
|
||||||
loginctl unlock-session $sessionid
|
loginctl unlock-session $sessionid
|
||||||
}
|
}
|
||||||
alias gdl="gd-lock"
|
|
||||||
alias gdu="gd-unlock"
|
|
||||||
|
|
||||||
# miscellaneous software aliases
|
# miscellaneous software aliases
|
||||||
alias serve="/usr/bin/python3 -m http.server"
|
alias serve="/usr/bin/python3 -m http.server"
|
||||||
alias vi="vim"
|
|
||||||
alias regen-ssh-conf="assh config build > ~/.ssh/config"
|
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 clip="xclip -selection clipboard"
|
||||||
alias cl="climate"
|
alias cl="climate"
|
||||||
alias tmux-cleanup="tmux list-sessions | grep -v attached | cut -d: -f1 | xargs -t -n1 tmux kill-session -t"
|
alias tmux-cleanup="tmux list-sessions | grep -v attached | cut -d: -f1 | xargs -t -n1 tmux kill-session -t"
|
||||||
|
|
|
@ -14,17 +14,6 @@ nb() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
nw() {
|
|
||||||
if [ $# -eq 0 ]; then
|
|
||||||
command npm run watch
|
|
||||||
else
|
|
||||||
for arg in "$@"
|
|
||||||
do
|
|
||||||
command npm run watch-${arg}
|
|
||||||
done
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
nr() {
|
nr() {
|
||||||
for arg in "$@"
|
for arg in "$@"
|
||||||
do
|
do
|
||||||
|
@ -32,10 +21,6 @@ nr() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
alias nrc="npm run coverage"
|
|
||||||
alias nrm="npm run mocha"
|
|
||||||
|
|
||||||
|
|
||||||
nvm() { # This takes ~1sec, so we lazy-load it.
|
nvm() { # This takes ~1sec, so we lazy-load it.
|
||||||
unset $0
|
unset $0
|
||||||
source "/usr/share/nvm/init-nvm.sh"
|
source "/usr/share/nvm/init-nvm.sh"
|
||||||
|
|
Loading…
Reference in a new issue