diff --git a/install/cli-tools.sh b/install/cli-tools.sh index a9c7d00..4d9ed86 100755 --- a/install/cli-tools.sh +++ b/install/cli-tools.sh @@ -22,4 +22,8 @@ brew install rbenv brew install the_silver_searcher brew install youtube-dl +# install a current ruby version rbenv install 2.4.0 + +# use nvm instead of brew node or anything else +curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash diff --git a/install/install.sh b/install/install.sh index 78c31db..299128b 100755 --- a/install/install.sh +++ b/install/install.sh @@ -26,12 +26,26 @@ brew install neovim/neovim/neovim brew install python3 read -p "Press any key to continue... " -n1 -s -# install deps + plugins for neovim -pip3 install neovim -curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh -sh installer.sh ~/.config/nvim/dein +# install all submodules +git submodule init +git submodule update +read -p "Press any key to continue... " -n1 -s + +# link the dotfiles +mkdir ~/.config +ln -s ~/dotfiles/agignore ~/.agignore +ln -s ~/dotfiles/nvim ~/.config/nvim +ln -s ~/dotfiles/editorconfig ~/.editorconfig +ln -s ~/dotfiles/gemrc ~/.gemrc +ln -s ~/dotfiles/gitconfig ~/.gitconfig +ln -s ~/dotfiles/gitignore ~/.gitignore +ln -s ~/dotfiles/hyperterm.js ~/.hyperterm.js +ln -s ~/dotfiles/khdrc ~/.khdrc +ln -s ~/dotfiles/kwm ~/.kwm +ln -s ~/dotfiles/tmux.conf ~/.tmux.conf +ln -s ~/dotfiles/zsh ~/.zsh +ln -s ~/dotfiles/zsh/zshrc ~/.zshrc read -p "Press any key to continue... " -n1 -s -rm installer.sh # install fzf /usr/local/opt/fzf/install @@ -44,7 +58,6 @@ brew cask install nextcloud brew cask install caskroom/fonts/font-hack read -p "Press any key to continue... " -n1 -s -brew linkapps brew tap homebrew/services # clipper + kwm/khd @@ -52,27 +65,14 @@ mkdir -p ~/Library/LaunchAgents brew services start clipper brew services start khd brew services start kwm - -# install all submodules -git submodule init -git submodule update read -p "Press any key to continue... " -n1 -s -# link the dotfiles -mkdir ~/.config -ln -s ~/dotfiles/agignore ~/.agignore -ln -s ~/dotfiles/nvim ~/.config/nvim -ln -s ~/dotfiles/editorconfig ~/.editorconfig -ln -s ~/dotfiles/gemrc ~/.gemrc -ln -s ~/dotfiles/gitconfig ~/.gitconfig -ln -s ~/dotfiles/gitignore ~/.gitignore -ln -s ~/dotfiles/hyperterm.js ~/.hyperterm.js -ln -s ~/dotfiles/khdrc ~/.khdrc -ln -s ~/dotfiles/kwm ~/.kwm -ln -s ~/dotfiles/tmux.conf ~/.tmux.conf -ln -s ~/dotfiles/zsh ~/.zsh -ln -s ~/dotfiles/zsh/zshrc ~/.zshrc +# install deps + plugins for neovim +pip3 install neovim +curl https://raw.githubusercontent.com/Shougo/dein.vim/master/bin/installer.sh > installer.sh +sh installer.sh ~/.config/nvim/dein read -p "Press any key to continue... " -n1 -s +rm installer.sh # set xterm/screen terminals to enable italic fonts in terminal tic ~/dotfiles/other/xterm-256color.terminfo diff --git a/install/node.sh b/install/node.sh index 5027694..b6d1af6 100755 --- a/install/node.sh +++ b/install/node.sh @@ -1,7 +1,5 @@ #!/usr/bin/env zsh -# use nvm instead of brew node or anything else -curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.0/install.sh | bash nvm install 6.9.3 nvm use 6.9.3 nvm alias default 6.9.3 diff --git a/install/software.sh b/install/software.sh index 9731123..aea290d 100755 --- a/install/software.sh +++ b/install/software.sh @@ -23,10 +23,13 @@ brew cask install spotify brew cask install telegram brew cask install virtualbox brew cask install vlc +read -p "Press any key to continue... " -n1 -s # set some options for qlcolorcode defaults write org.n8gray.QLColorCode font Hack defaults write org.n8gray.QLColorCode fontSizePoints 9 defaults write org.n8gray.QLColorCode hlTheme blacknblue defaults write org.n8gray.QLColorCode extraHLFlags '--replace-tabs=2' +read -p "Press any key to continue... " -n1 -s qlmanage -r +read -p "Press any key to continue... " -n1 -s \ No newline at end of file