From 4a7d8e964ae05233ce90b60ac3bec81cc0d6574b Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Tue, 6 Jun 2017 15:39:43 +0200 Subject: [PATCH] prepare new install process --- install/install.sh | 3 ++- install/node.sh | 6 ++---- install/osx.sh | 4 ++-- zsh/aliases | 4 ++-- 4 files changed, 8 insertions(+), 9 deletions(-) diff --git a/install/install.sh b/install/install.sh index 2fef7f5..52bc4f8 100755 --- a/install/install.sh +++ b/install/install.sh @@ -22,8 +22,9 @@ brew install koekeishiya/formulae/kwm brew install koekeishiya/formulae/khd brew install tmux brew install zsh -brew install neovim/neovim/neovim +read -p "Press any key to continue... " -n1 -s brew install python3 +brew install neovim/neovim/neovim read -p "Press any key to continue... " -n1 -s # install all submodules diff --git a/install/node.sh b/install/node.sh index 9feeb84..77dd7ca 100755 --- a/install/node.sh +++ b/install/node.sh @@ -1,12 +1,12 @@ #!/usr/bin/env zsh nvm install 6.10.3 -nvm install 7.10.0 +nvm install 8.0.0 nvm use 6.10.3 nvm alias default 6.10.3 curl -L https://www.npmjs.com/install.sh | sh -npm install -g npm +npm install -g npm@latest npm update -g npm install -g diff-so-fancy @@ -20,6 +20,4 @@ npm install -g pure-prompt npm install -g sass-lint npm install -g trash-cli npm install -g vtop -npm install -g webpack npm install -g xo -npm install -g yarn diff --git a/install/osx.sh b/install/osx.sh index 3d5521a..fca57a6 100755 --- a/install/osx.sh +++ b/install/osx.sh @@ -25,7 +25,7 @@ defaults write com.apple.terminal StringEncodings -array 4 defaults write com.apple.TextEdit PlainTextEncoding -int 4 defaults write com.apple.TextEdit PlainTextEncodingForWrite -int 4 -# Disable transparency in the menu bar and elsewhere on Yosemite +# Disable transparency in the menu bar and elsewhere defaults write com.apple.universalaccess reduceTransparency -bool true # Expand save panel by default @@ -69,7 +69,7 @@ defaults write com.apple.universalaccess closeViewZoomFollowsFocus -bool true # Wipe all (default) app icons from the Dock defaults write com.apple.dock persistent-apps -array -# Show indicator lights for open applications in the Dock +# Dont Show indicator lights for open applications in the Dock defaults write com.apple.dock show-process-indicators -bool false # Disable Dashboard diff --git a/zsh/aliases b/zsh/aliases index 9cebd16..1b6ae5d 100644 --- a/zsh/aliases +++ b/zsh/aliases @@ -55,13 +55,13 @@ alias ta='tmux -u attach' # all in one homebrew, gem update commands alias brewup='brew update && brew upgrade && brew cleanup' -alias npmup='npm -g cache clean && npm -g update' +alias npmup='npm -g outdated && npm -g update' alias upall='brewup && npmup' # other often used stuff, mostly node/npm alias nr='npm run' alias yr='yarn run' -alias npmre='rm -rf node_modules && npm cache clean && npm install' +alias npmre='rm -rf node_modules && npm cache clean --force && npm install' alias yarnre='rm -rf node_modules && yarn' # easy hosts / apache / php editing