a1e7a759307478fc58d86950d0b206bd28789bf8
1# Path to oh-my-zsh installation
2export ZSH=/home/andrew/.oh-my-zsh
3export PATH=~/scripts:$PATH
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
38# ---
39# Appearance
40# ---
41ZSH_THEME="agnoster"
42COMPLETION_WAITING_DOTS="true"
43
44# plugins can be found in ~/.oh-my-zsh/plugins/*
45plugins=(git)
46
47source $ZSH/oh-my-zsh.sh
48
49# fix spotify ui scaling bug
50alias spotify="spotify --force-device-scale-factor=0.95 %U"
51alias cat="bat"
52