diff --git a/shells/zshrc b/shells/zshrc index 46e1ac1..31d1c33 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -26,7 +26,7 @@ export EDITOR='vim' $ () { $* } -st () { +sv () { command="${@: -1}" while (( $# > 1 )); do if [[ "$command" == "r" ]]; then @@ -45,7 +45,7 @@ st () { shift done } -compdef _services st +compdef _services sv asroot(){ # Use temporary file for added security TEMPFILE=$(tempfile)