Browse Source

removed quotes from args passed to git and npm in helper functions

master
ojizero 3 years ago
parent
commit
69e9322b20
  1. 4
      .zshrc

4
.zshrc

@ -42,7 +42,7 @@ alias dockerclean='docker rmi --force $(docker images -q)' @@ -42,7 +42,7 @@ alias dockerclean='docker rmi --force $(docker images -q)'
function _git {
if [[ $# -gt 0 ]]; then
\git "$@"
\git $@
else
\git status --short --branch
fi
@ -52,7 +52,7 @@ alias g='_git' @@ -52,7 +52,7 @@ alias g='_git'
function _npm {
if [[ $# -gt 0 ]]; then
\npm "$@"
\npm $@
else
\npm install
fi

Loading…
Cancel
Save