spacemacs, stow
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
fish --version
|
||||
|
||||
current_shell=`readlink -f /proc/$$/exe`
|
||||
current_shell=`grep "^$USER" /etc/passwd`
|
||||
current_shell=${current_shell##*:}
|
||||
fish_shell=`which fish`
|
||||
if [[ "$current_shell" != "$fish_shell" ]]; then
|
||||
chsh -s "$fish_shell"
|
||||
|
||||
@@ -8,7 +8,8 @@ fi
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
nvm --version
|
||||
nvm install node
|
||||
nvm use node
|
||||
nvm alias default lts/fermium
|
||||
nvm install lts/fermium
|
||||
nvm use lts/fermium
|
||||
|
||||
node --version
|
||||
|
||||
4
scripts/install.d/17-emacs.sh
Normal file
4
scripts/install.d/17-emacs.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
if [ ! -d ~/.emacs.d ]; then
|
||||
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
|
||||
fi
|
||||
Reference in New Issue
Block a user