-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.zshenv
47 lines (33 loc) · 1.1 KB
/
.zshenv
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
#######################
# #
# Environment Vars #
# #
#######################
# Append .local/bin to PATH
export PATH="$HOME/.local/bin:$PATH"
# XDG
export XDG_CONFIG_HOME="$HOME/.config"
# export XDG_DATA_HOME="$XDG_CONFIG_HOME/.local/share"
# export XDG_CACHE_HOME="$XDG_CONFIG_HOME/.cache"
if [ "$XDG_SESSION_TYPE" = "wayland" ]; then
export MOZ_ENABLE_WAYLAND=1
fi
# Fix ls background colors
LS_COLORS=$LS_COLORS:'tw=00;33:ow=01;33:'; export LS_COLORS
# zsh
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export HISTFILE="$ZDOTDIR/.zhistory" # History filepath
export HISTSIZE=10000 # Maximum events for internal history
export SAVEHIST=50000 # Maximum events in history file
export ZSH_COMPDUMP=ZDOTDIR/.zcompdump-${SHORT_HOST}-${ZSH_VERSION}.
# android-studio
export ANDROID_HOME=/home/bartolek/Android/Sdk
# man
# export MANPATH="/usr/local/man:$MANPATH"
# export MANPAGER='nvim +Man!'
# Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim'
# else
# export EDITOR='nvim'
# fi