Browse Source

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

master
ojizero 10 months ago
parent
commit
69e9322b20
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .zshrc

+ 2
- 2
.zshrc View File

@@ -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'

function _npm {
if [[ $# -gt 0 ]]; then
\npm "$@"
\npm $@
else
\npm install
fi

Loading…
Cancel
Save