452c46fe3c41148060c84a25353ef6c25b4255e8
   1export PATH=$HOME/scripts:/usr/local/bin:$PATH
   2export PATH=/usr/local/opt/grep/libexec/gnubin:$PATH
   3export ZSH=$HOME/.oh-my-zsh
   4
   5# ---
   6# Keybinds
   7# ---
   8
   9# Ctrl+Bksp deletes preceding word
  10bindkey '^H' backward-delete-word
  11
  12# Ctrl+Del deletes succeeding word
  13bindkey '^[[3^' delete-word
  14
  15# Ctrl+left arrow moves cursor one word left
  16bindkey '^[Od' backward-word
  17
  18# Ctrl+right arrow moves cursor one word right
  19bindkey '^[Oc' forward-word
  20
  21# Custom delimeters for delete-word
  22WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
  23
  24# ---
  25# Behaviour
  26# ---
  27
  28#Allow bash-style comments
  29setopt interactivecomments
  30
  31export EDITOR='vim'
  32
  33# Timestamp in history command ("mm/dd/yyyy"|"dd.mm.yyyy"|"yyyy-mm-dd")
  34HIST_STAMPS="dd.mm.yyyy"
  35
  36DISABLE_UNTRACKED_FILES_DIRTY="true"
  37
  38alias cat=bat
  39
  40# ---
  41# Appearance
  42# ---
  43ZSH_THEME="agnoster"
  44COMPLETION_WAITING_DOTS="true"
  45
  46# plugins can be found in ~/.oh-my-zsh/plugins/*
  47plugins=(git)
  48
  49source $ZSH/oh-my-zsh.sh
  50
  51# ---
  52# Aliases
  53# ---
  54alias preview='open -a preview'
  55alias chromium='open -a Google\ Chrome'