spacemacs, stow

This commit is contained in:
Andrejus
2021-04-26 23:25:43 +01:00
parent 75c7cd09db
commit 31f3fe9064
25 changed files with 632 additions and 56 deletions

View File

@@ -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"

View File

@@ -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

View File

@@ -0,0 +1,4 @@
#!/usr/bin/env bash
if [ ! -d ~/.emacs.d ]; then
git clone https://github.com/syl20bnr/spacemacs ~/.emacs.d
fi