terminal - zsh: no matches found: push[dev1] -
i running script ./ci.sh push[dev1]
, response zsh: no matches found: push[dev1]
. have tried place alias .zshrc not jolly joy.
my .zshrc file:
alias push='noglob push' alias git='noglob git' alias jake='noglob jake' alias task='noglob task' alias branch='noglob branch' alias gp='git push'`
also the task jakefile.js:
desc('push commits integration machine validation.'); task('push', ['status'], (branch) => { if (!branch) { console.log( 'this command push code integration machine. pass your\n' + 'branch name parameter (e.g., \'push[workstation_name]\').\n' ); fail('no branch provided'); } run([ 'git push origin ' + branch ], () => { console.log('\nok. current branch has been copied integration machine.'); complete(); }); }, { async: true });
and file ci.sh
contains:
#!/bin/sh . build/scripts/run_jake.sh -f build/scripts/ci.jakefile.js $*
thanks help.
simply escape brackets
./ci.sh push\[dev1\]
wiki
Comments
Post a Comment