summaryrefslogtreecommitdiffstats
path: root/.profile
blob: c5eaf609c80df055e238e8f89de4204caa499d31 (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
#!/bin/sh -l

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=ex 
elif command -v ed > /dev/null
then
	export EDITOR=ed
fi
export FCEDIT="$VISUAL"

if command -v less > /dev/null
then
	export PAGER=less
elif command -v more > /dev/null
then
	export PAGER=more
fi

if test -r "$HOME"/.shrc
then
	export ENV="$HOME"/.shrc
fi

PATH=$HOME/.nodenv/bin:$HOME/.pyenv/bin:$HOME/.local/bin/:$PATH
export MANPATH="$HOME"/.local/share/man: