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