- how to setup computer for using this dotfiles
-
install homebrew
-
install a better version of zsh:
brew install zsh
-
make better zsh version your custom shell:
Go to the Users & Groups pane of the System Preferences -> Select the User -> Click the lock to make changes (bottom left corner) -> right click the current user select Advanced options... -> Select the Login Shell: /usr/local/Cellar/zsh/5.3.1_1/bin/zsh and OK
or wherever is your better version of zsh installed
-
install zgen:
git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen"
-
install fzf version 0.17.0:
brew install fzf && /usr/local/opt/fzf/install
, find a way to use version 0.17.0brew switch fzf 0.17.0
-
install nvm using homebrew:
brew install nvm
-> use versionv0.33.0
of nvm to avoid errornot compatible with the npm config "prefix"
-
install the-silver-searcher aka ag:
brew install the_silver_searcher
-
symlink all
.symlink
files to your home folderln -s PATH_TO_SOURCE_FILE.symlink ~/.FILE_NAME
-
apply macos defaults:
sh ~/.dotfiles/macos/defaults
-
install rouge (I'll go ahead and suggest sudoing this, there must be a better way though):
sudo gem install rouge
-
install karabiner-elements
brew cask install karabiner-elements
-
install mysql for mru ( most recently used - vim plugin ):
brew install mysql
-
download and install spactacle
brew cask install spectacle
-
do yourself a favor: glances
pip3 install glances
ORbrew install htop
and stop using activity monitor -
brew install coreutils
-- you need it forrealpath
-
update submodules:
git submodule update --init --recursive
-
install yarn:
brew install yarn --without-node
-
install yarn completions:
yarn global add yarn-completions
-
install tldr
yarn global add tldr
for simplified man pages -
install iterm
brew cask install iterm
and set colors as follows:- black: 727272
- red: e64856
- green: 35c13c
- yellow: b7b334
- blue: 88a2f3
- magenta: cb31ca
- cyan: a5eaf0
- white: c7c7c7
-
install ITerm2 shell integration:
curl -L https://iterm2.com/misc/install_shell_integration.sh | bash
-
enable mouse scroll for less in iterm: ITerm -> Preferences -> Advanced and search for "scroll"
-
unmark checkbox of iterm->Preferences->terminal->Shell Integration[Show mark indicators]
-
make cmd+click filename in iterm open in terminal vim (or cd into dir) [Preferences -> Profiles -> Advanced, Under "Semantic History", choose "Run coprocess..". In the text field, put:
echo 'if [[ -d \1 ]]; then cd \1; else vim \1 \2; fi'
-
install fasd:
git clone https://github.com/akatrevorjay/fasd.git && cd fasd && make install
- don't use the brew version cuz it messes up the global alias V
-
make changes in
_faasd_preexec
like this -
install hub:
brew install hub
-
create a file in
~/.config/hub
---
github.com:
- oauth_token: TOKEN
user: sudavid4
- to push to github (https with two factor authentication) you will need to use a token instead of your password. Instructions here
- powerfonts for nerdtree
- change rouge to output with base16
- DO YOURSELF A FAVOUR AND START USING fasd INSTEAD OF AUTOJUMP see somethings you may do with it + fzf and search for fasd