mirror of
https://github.com/ViViDboarder/shoestrap.git
synced 2024-12-23 07:37:39 +00:00
12 lines
207 B
Fish
12 lines
207 B
Fish
|
function npm_activate
|
||
|
set -gx OLD_PATH $PATH
|
||
|
set -gx PATH (npm bin) $PATH
|
||
|
end
|
||
|
|
||
|
function npm_deactivate
|
||
|
if [ "$OLD_PATH" != "" ]
|
||
|
set -gx PATH $OLD_PATH
|
||
|
set -e OLD_PATH
|
||
|
end
|
||
|
end
|