diff --git a/Brewfile b/Brewfile index 30cfa94..b999844 100644 --- a/Brewfile +++ b/Brewfile @@ -8,6 +8,7 @@ tap "homebrew/cask-versions" tap "adoptopenjdk/openjdk" # primitives +brew coreutils brew "git" brew "neovim" brew "zsh" @@ -15,9 +16,13 @@ brew "zsh-completions" brew "tmux" brew "gnupg" brew "gnupg2" +brew "fzf" +brew "hub" +brew "tmux" +brew "tree" +brew "wget" # tools -brew "wget" brew "mas" brew "p7zip" brew "dos2unix" @@ -25,6 +30,18 @@ brew "proxychains-ng" brew "htop" brew "neofetch" brew "syncthing" +brew "openssl@1.1" +brew "readline" +brew "asdf" +brew "boost@1.60", link: true +brew "cmake" +brew "jenv" +brew "node" +brew "pyenv" +brew "rbenv" +brew "sqlite" +brew "xz" +brew "zlib" # productivity brew "exa" @@ -50,6 +67,7 @@ brew "yarn" # brew "wrk" if ENV.key? 'CI_MODE' +cask "iterm2" cask "eudic" cask "java" cask "licecap" @@ -60,7 +78,6 @@ cask "google-chrome" # cask "firefox-developer-edition" # cask "sublime-text" cask "visual-studio-code" -cask "iterm2" cask "font-source-code-pro" cask "font-fira-code" cask "dash" @@ -77,6 +94,7 @@ cask "oversight" cask "nitroshare" cask "qmk-toolbox" cask "via" +cask "vlc" mas "WeChat", id: 836500024 mas "Unsplash Wallpapers", id: 1284863847 @@ -91,21 +109,3 @@ end -brew "openssl@1.1" -brew "readline" -brew "asdf" -brew "boost@1.60", link: true -brew "cmake" -brew "fzf" -brew "git" -brew "hub" -brew "jenv" -brew "node" -brew "privoxy" -brew "pyenv" -brew "sqlite" -brew "tmux" -brew "tree" -brew "wget" -brew "xz" -brew "zlib" diff --git a/bootstrap.sh b/bootstrap.sh index 9ea2aa0..bc4c0c9 100644 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -36,6 +36,10 @@ ln -s ./git/global.gitconfig ~/.gitconfig echo "Setup Zsh" sudo sh -c 'echo /usr/local/bin/zsh >> /etc/shells' sudo chsh -s $(which zsh) +if [ -f ~/.zshrc ]; then + cat ~/.zshrc + mv ~/.zshrc ~/zshrc.bak +fi ln -s .zshrc ~/.zshrc source ~/.zshrc diff --git a/init_mac.sh b/init_mac.sh index 338f64d..da105d2 100644 --- a/init_mac.sh +++ b/init_mac.sh @@ -26,3 +26,6 @@ defaults write com.apple.dock wvous-bl-corner -int 5 defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true +# Show all hidden files +defaults write com.apple.finder AppleShowAllFiles ture +