blob: ac3f13b1b3de7c8a01c143b31626cef362356b96 (
plain)
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
|
# vi:filetype=sh
function appendpath() {
local regex="[:^]${1//'/'/'\/'}[:$]"
if [[ ! ${PATH} =~ $regex ]]; then
PATH=$PATH:$1
fi
}
appendpath "$HOME/bin"
appendpath "$DOTFILEBASE/scripts"
appendpath "$HOME/.local/bin"
appendpath "$HOME/go/bin"
appendpath "$HOME/.cabal/bin"
appendpath "$HOME/.ghcup/bin"
export PATH
unset appendpath
export EDITOR=nvim
#Java Gradle hopme PATH
export GRADLE_USER_HOME=~/.gradle
export HISTTIMEFORMAT="%y-%m-%d %T "
export HISTSIZE=1000
|