-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile
32 lines (27 loc) · 873 Bytes
/
profile
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
# default applications
export PAGER=less
export TERMINAL=alacritty
# use nvim as the default editor if installed; otherwise, default to vim
if [ -x /usr/bin/nvim ]; then
export EDITOR=nvim
export SUDO_EDITOR=nvim
export VISUAL=nvim
else
export EDITOR=vim
export SUDO_EDITOR=rvim
export VISUAL=vim
fi
# XDG directory standard
export XDG_CONFIG_HOME="$HOME/.config"
export XDG_CACHE_HOME="$HOME/.cache"
export XDG_DATA_HOME="$HOME/.local/share"
export ANSIBLE_CONFIG="$XDG_CONFIG_HOME/ansible/ansible.cfg"
export GTK2_RC_FILES="$XDG_CONFIG_HOME/gtk-2.0/gtkrc"
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME/notmuch/notmuchrc"
export XPRA_USER_CONF_DIRS="$XDG_CONFIG_HOME/xpra"
# less config
export LESS="-FRSXMK"
export LESSHISTFILE=-
export GOPATH="$HOME/go"
export PATH="$PATH:$HOME/bin"
export WORMHOLE_TRANSIT_RELAY=wss://relay.magic-wormhole.io/v1