Fix nvm on fish
This commit is contained in:
@@ -43,7 +43,6 @@ if [ -z "$PROFILE_LOCK" ]; then
|
|||||||
export NVM_DIR="$XDG_CONFIG_HOME/nvm"
|
export NVM_DIR="$XDG_CONFIG_HOME/nvm"
|
||||||
if [ -d "$NVM_DIR" ]; then
|
if [ -d "$NVM_DIR" ]; then
|
||||||
export PATH="$NVM_DIR/bin:$PATH"
|
export PATH="$NVM_DIR/bin:$PATH"
|
||||||
# [ -s "$NVM_DIR/nvm.sh" ] && source "$NVM_DIR/nvm.sh"
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# yarn
|
# yarn
|
||||||
|
|||||||
@@ -3,7 +3,6 @@
|
|||||||
# ---------------------------------------------------------------------------- #
|
# ---------------------------------------------------------------------------- #
|
||||||
if test -e ~/.profile
|
if test -e ~/.profile
|
||||||
bass source ~/.profile
|
bass source ~/.profile
|
||||||
bass source "$NVM_DIR/nvm.sh" --no-use ';' nvm use iojs
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# ---------------------------------------------------------------------------- #
|
# ---------------------------------------------------------------------------- #
|
||||||
|
|||||||
4
fish/functions/nvm.fish
Normal file
4
fish/functions/nvm.fish
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
function nvm
|
||||||
|
bass source $NVM_DIR/nvm.sh --no-use ';' nvm $argv
|
||||||
|
end
|
||||||
|
|
||||||
8
install/00-apt-pkglist.save
Normal file
8
install/00-apt-pkglist.save
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
curl
|
||||||
|
make
|
||||||
|
net-tools
|
||||||
|
openssh-client
|
||||||
|
openssh-server
|
||||||
|
software-properties-common
|
||||||
|
tmux
|
||||||
|
|
||||||
Reference in New Issue
Block a user