-
Notifications
You must be signed in to change notification settings - Fork 0
/
helpers.txt
106 lines (85 loc) · 2.9 KB
/
helpers.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
Helper commands that need to be installed manually.
Add it here in case you forget to install these.
INSTALL
homebrew
sudo chown -R $(whoami) $(brew --prefix)/* (this works for high sierra)
brew install wget
brew install zsh
brew install curl
brew install git
brew install nvm (see brew after-install message - to copy to bash profile)
nvm install 16 (or whatever is latest)
npm install -g spaceship-zsh-theme
brew tap homebrew/cask-fonts && brew install font-Fira-Code-nerd-font
brew install zsh-completions
brew install zsh-syntax-highlighting
brew install reattach-to-user-namespace (will fix tmux no sessions exited issue)
brew install tmux
brew install fzf
brew install bat
brew install diff-so-fancy
brew install autojump
brew install yarn
brew install ack
brew install zsh-abbr
brew install optipng
brew install jpegoptim
brew install gifsicle
brew install gotop
brew install git-delta
brew install archey4
brew install figlet
brew install lolcat
brew install cowsay
brew install fortune
brew install fd
brew install ffmpeg
brew install glow
npm install -g vtop
npm install -g fkill-cli
npm install -g replace
SETUP
ln -s $HOME/.dotfiles/.bin
ln -s $HOME/.dotfiles/.docker
ln -s $HOME/.dotfiles/.gogoenv.sh
ln -s $HOME/.dotfiles/tmux/.tmux.conf
ln -s $HOME/.dotfiles/.zshrc
ln -s $HOME/.dotfiles/.ackrc
ln -s $HOME/.dotfiles/.gitmodules
ln -s $HOME/.dotfiles/.editorconfig
ln -s $HOME/.dotfiles/.tern-project
ln -s $HOME/.dotfiles/.gitignore_global
ln -s $HOME/.dotfiles/.prettierrc
ln -s $HOME/.dotfiles/.tmuxinator
ln -s $HOME/.dotfiles/.agignore
ln -s $HOME/.dotfiles/.ctags
ln -s $HOME/.dotfiles/.aliases
ln -s $HOME/.dotfiles/sh .shfiles
# ln -s $HOME/.vimfiles/vimconfig .vim
# ln -s $HOME/.gogodot/.gitconfig
# git
git config --global core.excludesfile ~/.gitignore_global
# diff-so-fancy
- add below to .gitconfig
[pager]
diff = diff-so-fancy | less --tabs=1,5 -RFX
show = diff-so-fancy | less --tabs=1,5 -RFX
# spaceship-prompt
to fix zsh compinit: insecure directories, run:
compaudit | xargs chmod g-w
# NEW MAC?
- always show hidden files in Finder
defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder;
- disable press and hold (do this first before repeat rate)
defaults write -g ApplePressAndHoldEnabled -bool false
- to increase key repeat rate, run these 2 commands in the command line
# i set InitialKeyRepeat to 20 and KeyRepeat to 2 personally
# setting 10 and 1 is extreme for me, getting a random key repeat 2x or more
defaults write -g InitialKeyRepeat -int 20 # normal minimum is 15 (225 ms)
defaults write -g KeyRepeat -int 2 # normal minimum is 2 (30 ms)
- optional: enable or disable
defaults write -g CGFontRenderingFontSmoothingDisabled -bool false
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
NOTE: below might not be needed anymore (.npmrc setup)
create .npmrc with line below with your node version
prefix=/Users/philip/.nvm/versions/node/v12.16.1