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