-
Notifications
You must be signed in to change notification settings - Fork 0
/
.zshrc
43 lines (33 loc) · 1.06 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
# If you come from bash you might have to change your $PATH.
export PATH=$HOME/.dotfiles/bin:$HOME/.local/bin:$HOME/.cargo/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH="$HOME/.oh-my-zsh"
ZSH_THEME="robbyrussell"
# Which plugins would you like to load?
# Standard plugins can be found in $ZSH/plugins/
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(ssh-agent git web-search zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
# User configuration
export LANG=en_US.UTF-8
export _JAVA_AWT_WM_NONREPARENTING=1
# Preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='vim'
else
export EDITOR='nvim'
fi
# Load seperated config files
for conf in "$HOME/.dotfiles/work/"*; do
source "${conf}"
done
unset conf
for conf in "$HOME/.dotfiles/zshconf/"*; do
source "${conf}"
done
unset conf
autoload -Uz compinit
zstyle ':completion:*' menu select
fpath+=~/.zfunc