This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install ZSH and Oh-my-ZSH | |
if [ ! -d "$HOME/.oh-my-zsh" ]; then | |
if [[ `uname` == "Darwin" ]]; then | |
brew update | |
brew install zsh | |
else | |
sudo apt update | |
sudo apt install zsh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on " enable syntax processing | |
set tabstop=2 " number of visual spaces per TAB | |
set softtabstop=0 " number of spaces in tab when editing | |
set expandtab " tabs are spaces | |
set shiftwidth=2 | |
set smarttab | |
set wildmenu " visual autocomplete for command menu | |
set showmatch " highlight matching [{()}] | |
set ttimeout |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setopt prompt_subst | |
() { | |
SYMBOL_GIT="\ue0a0" | |
COLOR_PRIMARY=39 # blue | |
COLOR_SECONDARY=208 # orange | |
COLOR_FILEPATH=113 # green | |
COLOR_ENV=180 # yellow |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ZSH="$HOME/.oh-my-zsh" | |
export PATH="$HOME/bin:$PATH" | |
ZSH_THEME="gnzh-custom" | |
HYPHEN_INSENSITIVE="true" | |
ENABLE_CORRECTION="false" | |
COMPLETION_WAITING_DOTS="true" | |
HIST_STAMPS="yyyy-mm-dd" | |
ZSH_DISABLE_COMPFIX="true" |