diff options
author | Guangxiong Lin <[email protected]> | 2023-11-15 08:58:19 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2023-11-15 08:58:19 +0800 |
commit | 016c96d8af4c944fb2b9fc0c673f5130472a7977 (patch) | |
tree | b8410f3cea2780043d66a67a8b1e173930488bed /.config/fish/functions/_nvm_version_activate.fish | |
parent | 55c2d8e73db4e9e93cddcb981c15fb8fe9b1dcf4 (diff) | |
download | dotfiles-016c96d8af4c944fb2b9fc0c673f5130472a7977.tar.gz dotfiles-016c96d8af4c944fb2b9fc0c673f5130472a7977.tar.bz2 dotfiles-016c96d8af4c944fb2b9fc0c673f5130472a7977.zip |
Update aliases and add fisher
Diffstat (limited to '.config/fish/functions/_nvm_version_activate.fish')
-rw-r--r-- | .config/fish/functions/_nvm_version_activate.fish | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/.config/fish/functions/_nvm_version_activate.fish b/.config/fish/functions/_nvm_version_activate.fish new file mode 100644 index 0000000..f7dfef7 --- /dev/null +++ b/.config/fish/functions/_nvm_version_activate.fish @@ -0,0 +1,4 @@ +function _nvm_version_activate --argument-names ver + set --global --export nvm_current_version $ver + set --prepend PATH $nvm_data/$ver/bin +end |