blob: ce26b17cd11c424a0afb04850b5b8fa24c843ed2 (
plain) (
blame)
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
|
if command -v nvim > /dev/null
then
export VISUAL=nvim
elif command -v vim > /dev/null
then
export VISUAL=vim
elif command -v vi > /dev/null
then
export VISUAL=vi
fi
if command -v ex > /dev/null
then
export EDITOR=nvim
elif command -v ed > /dev/null
then
export EDITOR=vim
fi
if command -v less > /dev/null
then
export PAGER=less
elif command -v more > /dev/null
then
export PAGER=more
fi
NULLCMD=${PAGER:-cat}
READNULLCMD=${PAGER:-more}
if test -f "$HOME"/.cargo/env
then
. "$HOME/.cargo/env"
fi
export XDG_CONFIG_HOME="$HOME/.config/"
export XDG_CACHE_HOME="$HOME/.cache/"
export XDG_DATA_HOME="$HOME/.local/share"
export XDG_STATE_HOME="$HOME/.local/state/"
|