This page lists my personal preferences to set up proper command line for Mac OS X.
Current default for Mac OS X Catalina, offers much better customizations that Bash.
chsh -s /bin/zsh
brew cask install iterm2
- Python 3
- GNU coreutils
- GNU findutils
- https://github.com/sharkdp/fd
- https://github.com/ggreer/the_silver_searcher
brew install python coreutils findutils fd the_silver_searcher tree
https://github.com/robbyrussell/oh-my-zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
https://github.com/romkatv/powerlevel10k
git clone https://github.com/romkatv/powerlevel10k.git $ZSH_CUSTOM/themes/powerlevel10k
And chage line in .zshrc
ZSH_THEME=powerlevel10k/powerlevel10k
When you restart the shell, it will run through Wizard to set it up, and install proper fonts for it.
https://github.com/seebi/dircolors-solarized
Copy one of the theme to ~/.dircolors
- https://github.com/zsh-users/zsh-syntax-highlighting
- https://github.com/zsh-users/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
Modify .zshrc
plugins to:
plugins=(
colored-man-pages
colorize
osx
history-substring-search
gitfast
jira
zsh-autosuggestions
z
web-search
zsh-syntax-highlighting
)
# Note zsh-syntax-highlighting must be the last one