export PATH=$HOME/scripts:/usr/local/bin:$PATH export PATH=/usr/local/opt/grep/libexec/gnubin:$PATH export PATH=/Users/andrew/Library/Python/3.7/bin:$PATH export PATH=/Users/andrew/scripts:$PATH export GOPATH=$HOME/.go export PATH=$GOPATH:$GOPATH/bin:$PATH export PATH=/opt/local/bin:/opt/local/sbin:$PATH export ZSH=$HOME/.oh-my-zsh # --- # Keybinds # --- # Ctrl+Bksp deletes preceding word bindkey '^H' backward-delete-word # Ctrl+Del deletes succeeding word bindkey '^[[3^' delete-word # Ctrl+left arrow moves cursor one word left bindkey '^[Od' backward-word # Ctrl+right arrow moves cursor one word right bindkey '^[Oc' forward-word # Custom delimeters for delete-word WORDCHARS='*?_-.[]~=&;!#$%^(){}<>' # --- # Behaviour # --- #Allow bash-style comments setopt interactivecomments export EDITOR='vim' # Timestamp in history command ("mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd") HIST_STAMPS="dd.mm.yyyy" DISABLE_UNTRACKED_FILES_DIRTY="true" alias cat=bat # --- # Appearance # --- ZSH_THEME="agnoster" COMPLETION_WAITING_DOTS="true" # plugins can be found in ~/.oh-my-zsh/plugins/* plugins=(git) source $ZSH/oh-my-zsh.sh # --- # Aliases # --- alias preview='open -a preview' alias chromium='open -a Google\ Chrome'