-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.zprofile
79 lines (69 loc) · 2.68 KB
/
.zprofile
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Define default applications
export TERMINAL="st"
export EDITOR="nvim"
export BROWSER="firefox"
export READER="zathura"
# Set no. of lines in history
export HISTSIZE=1000
export SAVEHIST=1000
# Default directories in compliance with XDG standards
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_RUNTIME_DIR="/run/user/$(id -u)"
export ZDOTDIR="$XDG_CONFIG_HOME/zsh"
export HISTFILE="$XDG_CACHE_HOME/zsh/history"
export GNUPGHOME="$XDG_DATA_HOME/gnupg"
export XAUTHORITY="$XDG_DATA_HOME/Xauthority"
export GRADLE_USER_HOME="$XDG_DATA_HOME/gradle"
export WEECHAT_HOME="$XDG_CONFIG_HOME/weechat"
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/config"
export GOPATH="$XDG_DATA_HOME/go"
export RUSTUP_HOME="$XDG_DATA_HOME/rustup"
export CARGO_HOME="$XDG_DATA_HOME/cargo"
export MYSQL_HISTFILE="$XDG_DATA_HOME/mysql_history"
export PSQLRC="$XDG_CONFIG_HOME/pg/psqlrc"
export PGPASSFILE="$XDG_CONFIG_HOME/pg/pgpass"
export PGSERVICEFILE="$XDG_CONFIG_HOME/pg/pg_service.conf"
export PSQL_HISTORY="$XDG_CACHE_HOME/pg/psql_history"
export PASSWORD_STORE_DIR="$XDG_DATA_HOME/pass"
export IPYTHONDIR="$XDG_CONFIG_HOME/ipython"
export JUPYTER_CONFIG_DIR="$XDG_CONFIG_HOME/jupyter"
export NPM_CONFIG_USERCONFIG="$XDG_CONFIG_HOME/npm/npmrc"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export XINITRC="$XDG_CONFIG_HOME/X11/xinitrc"
export N_PREFIX="$HOME/.local/n"
export N_PRESERVE_NPM=1
# export RXVT_SOCKET="$XDG_RUNTIME_DIR/urxvtd"
# export URXVT_PERL_LIB="$XDG_DATA_HOME/urxvt/perl"
# Flutter/Android default directories
export FLUTTER_ROOT="$HOME/.flutter"
export ANDROID_SDK_ROOT="$HOME/Android/Sdk"
# Defines location for mpd socket
export MPD_HOST="$XDG_DATA_HOME/mpd/socket"
# Disables less history file
export LESSHISTFILE=/dev/null
# nnn configuration
export NNN_OPTS=eox
export NNN_COLORS='3333'
export NNN_FCOLORS='050503040006060801020201'
export NNN_BMS='h:~;m:/run/media/nate/;t:~/.local/share/Trash/files/;'
export NNN_OPENER=xdg-open
export NNN_TRASH=1
# Set bat highlighting colour theme
export BAT_THEME="base16"
# Define Chromium executable
export CHROME_EXECUTABLE="/usr/bin/chromium"
# Define PATH
export PATH="$HOME/.local/bin:$PATH"
export PATH="$HOME/.local/bin/dwmblocks:$PATH"
export PATH="$N_PREFIX/bin:$PATH"
export PATH="$FLUTTER_ROOT/bin:$PATH"
export PATH="$ANDROID_SDK_ROOT/platform-tools:$PATH"
export PATH="$ANDROID_SDK_ROOT/tools:$PATH"
export PATH="$ANDROID_SDK_ROOT/tools/bin:$PATH"
export PATH="$ANDROID_SDK_ROOT/emulator:$PATH"
export PATH="$ANDROID_SDK_ROOT/cmdline-tools/latest/bin/:$PATH"
if systemctl -q is-active graphical.target && [[ ! $DISPLAY && "$(tty)" = "/dev/tty1" ]]; then
exec startx "$XINITRC"
fi