enable hidden file
defaults write com.apple.finder AppleShowAllFiles YES
-
Installing Unix Shell: Bash (OS X default), Zsh, or Fish
-
Install Homebrew: https://brew.sh/
-
Install Spaceship Promt: https://github.com/denysdovhan/spaceship-prompt
# Clone the repository:
$ git clone https://github.com/denysdovhan/spaceship-prompt.git "$ZSH_CUSTOM/themes/spaceship-prompt"
# Symlink spaceship.zsh-theme to your oh-my-zsh custom themes directory:
$ ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
# Set ZSH_THEME="spaceship" in .zshrc-
Install Nerd Font: https://github.com/ryanoasis/nerd-fonts#option-4-homebrew-fonts
-
Customise zsh command prompt:
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ADD_NEWLINE="true"
SPACESHIP_CHAR_SYMBOL=" \ufc32"
SPACESHIP_CHAR_PREFIX="⚡️🐱"
SPACESHIP_CHAR_SUFFIX=(" ")
SPACESHIP_CHAR_COLOR_SUCCESS="yellow"
SPACESHIP_PROMPT_DEFAULT_PREFIX="$USER"
SPACESHIP_PROMPT_FIRST_PREFIX_SHOW="true"
SPACESHIP_USER_SHOW="true"- https://medium.com/@caulfieldOwen/youre-missing-out-on-a-better-mac-terminal-experience-d73647abf6d7
- https://github.com/unixorn/awesome-zsh-plugins
$ brew install cowsay
$ brew install lolcat
$ brew install fortune
$ fortune | cowsay | lolcat
$ fortune -s computers | cowsay -f dragon | lolcat
________________________________________
/ The world is coming to an end ... SAVE \
\ YOUR BUFFERS!!! /
----------------------------------------
\ / \ //\
\ |\___/| / \// \\
/0 0 \__ / // | \ \
/ / \/_/ // | \ \
@_^_@'/ \/_ // | \ \
//_^_/ \/_ // | \ \
( //) | \/// | \ \
( / /) _|_ / ) // | \ _\
( // /) '/,_ _ _/ ( ; -. | _ _\.-~ .-~~~^-.
(( / / )) ,-{ _ `-.|.-~-. .~ `.
(( // / )) '/\ / ~-. _ .-~ .-~^-. \
(( /// )) `. { } / \ \
(( / )) .----~-.\ \-' .~ \ `. \^-.
///.----..> \ _ -~ `. ^-` ^-_
///-._ _ _ _ _ _ _}^ - - - - ~ ~-- ,.-~
/.-~