-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.zshrc
57 lines (47 loc) · 1.51 KB
/
.zshrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
export ZSH=$HOME/.oh-my-zsh
ENABLE_CORRECTION="true"
COMPLETION_WAITING_DOTS="true"
HIST_STAMPS="dd.mm.yyyy"
SAVEHIST=100000
HISTSIZE=1000
ZSH_CUSTOM=$HOME/.dotfiles/oh-my-zsh-custom
ZSH_THEME="spaceship"
BAT_THEME="Solarized (light)"
plugins=(git composer cp common-aliases sublime sudo z debian zsh-syntax-highlighting zsh-autosuggestions)
# This speeds up pasting w/ autosuggest
# https://github.com/zsh-users/zsh-autosuggestions/issues/238
pasteinit() {
OLD_SELF_INSERT=${${(s.:.)widgets[self-insert]}[2,3]}
zle -N self-insert url-quote-magic
}
pastefinish() {
zle -N self-insert $OLD_SELF_INSERT
}
zstyle :bracketed-paste-magic paste-init pasteinit
zstyle :bracketed-paste-magic paste-finish pastefinish
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
export PATH=~/bin:$PATH
export PATH=~/.config/composer/vendor/bin:$PATH
export PATH=~/.composer/vendor/bin:$PATH
export PATH="/snap/bin:$PATH"
export PATH="/home/abez/.local/bin:$PATH"
if [ -f ~/.zprofile ]; then
source ~/.zprofile
fi
source $ZSH/oh-my-zsh.sh
export LANG=en_US.UTF-8
export EDITOR='nvim'
export RIPGREP_CONFIG_PATH=$HOME/.ripgreprc
if [ -d ~/.nvm ]; then
source ~/.nvm/nvm.sh
nvm use stable > /dev/null 2>&1
fi
if [ -f ~/.zshrc.local ]; then
source ~/.zshrc.local
fi
RPROMPT='!%!'
fpath=($fpath "/home/abez/.zfunctions")
export TERM=xterm-256color
export MANPAGER="sh -c 'col -bx | bat -l man -p'"
export PHP_IDE_CONFIG="serverName=localhost"
export XDEBUG_CONFIG="idekey=PHPSTORM"