Skip to content

Commit

Permalink
fix alias
Browse files Browse the repository at this point in the history
  • Loading branch information
A-312 committed Jan 25, 2020
1 parent 3fed1ce commit 152f724
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/win/install_zds.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if (-not (_in "-node") -and ((_in "+node") -or (_in "+base") -or (_in "+full")))
PrintInfo " | -> Add yarn alias in virtualenv."
$text = "yarn () {`r`n node ./node_modules/yarn/bin/yarn.js `"$@`"`r`n}"
Add-Content zdsenv\Scripts\activate $text
$text = "function global:yarn {`r`n node ./node_modules/yarn/bin/yarn.js $args`r`n}"
$text = "function global:yarn {`r`n node ./node_modules/yarn/bin/yarn.js `$args`r`n}"
Add-Content zdsenv\Scripts\activate.ps1 $text
$text = "aliases[`"yarn`"] = [`"node`", `"./node_modules/yarn/bin/yarn.js`"]"
Add-Content zdsenv\Scripts\activate.xsh $text
Expand Down Expand Up @@ -178,7 +178,7 @@ if (-not (_in "-front") -and ((_in "+front") -or (_in "+base") -or (_in "+full")
PrintInfo " | -> Add gulp alias in virtualenv."
$text = "gulp () {`r`n node ./node_modules/gulp/bin/gulp.js `"$@`"`r`n}"
Add-Content zdsenv\Scripts\activate $text
$text = "function global:gulp {`r`n node ./node_modules/gulp/bin/gulp.js $args`r`n}"
$text = "function global:gulp {`r`n node ./node_modules/gulp/bin/gulp.js `$args`r`n}"
Add-Content zdsenv\Scripts\activate.ps1 $text
$text = "aliases[`"gulp`"] = [`"node`", `"./node_modules/gulp/bin/gulp.js`"]"
Add-Content zdsenv\Scripts\activate.xsh $text
Expand Down

0 comments on commit 152f724

Please sign in to comment.