Fix nvm on fish

This commit is contained in:
Andrejus
2020-05-31 15:16:53 +01:00
parent 66c0c25fbd
commit 4e22b5f910
4 changed files with 12 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ if [ -z "$PROFILE_LOCK" ]; then
export NVM_DIR="$XDG_CONFIG_HOME/nvm"
if [ -d "$NVM_DIR" ]; then
export PATH="$NVM_DIR/bin:$PATH"
# [ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
fi
# yarn

View File

@@ -3,7 +3,6 @@
# ---------------------------------------------------------------------------- #
if test -e ~/.profile
bass source ~/.profile
bass source "$NVM_DIR/nvm.sh" --no-use ';' nvm use iojs
end
# ---------------------------------------------------------------------------- #

4
fish/functions/nvm.fish Normal file
View File

@@ -0,0 +1,4 @@
function nvm
bass source $NVM_DIR/nvm.sh --no-use ';' nvm $argv
end

View File

@@ -0,0 +1,8 @@
curl
make
net-tools
openssh-client
openssh-server
software-properties-common
tmux