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