-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdot_zshrc
More file actions
42 lines (35 loc) · 980 Bytes
/
dot_zshrc
File metadata and controls
42 lines (35 loc) · 980 Bytes
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
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
typeset -U path cdpath fpath manpath
typeset -xT SUDO_PATH sudo_path
typeset -U sudo_path
sudo_path=({/usr/local,/usr,}/sbin(N-/))
path=(/usr/local{/bin,/sbin}(N-/) $path)
path=(~/bin(N-/) $path)
path=(~/.local/bin(N-/) $path)
fpath=(~/.zsh/completions(N-/) $fpath)
export GPG_TTY=$(tty)
export EDITOR=hx
source $HOME/.zsh/base.rc.zsh
source $HOME/.zsh/cmd.rc.zsh
source $HOME/.zsh/tool.rc.zsh
source $HOME/.zsh/env.rc.zsh
if [[ "$(uname -r)" =~ "microsoft" ]]; then
source $HOME/.zsh/wsl.rc.zsh
fi
if [[ "$(uname)" = "Darwin" ]]; then
source $HOME/.zsh/macos.rc.zsh
fi
# Override lime render to add newline before symbol
prompt_lime_render() {
echo -n "${prompt_lime_rendered_user}"
echo -n ' '
prompt_lime_dir
echo -n ' '
prompt_lime_git
echo -n $'\n'
echo -n "${prompt_lime_rendered_symbol}"
}