-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
44 lines (35 loc) · 1.13 KB
/
.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
33
34
35
36
37
38
39
40
41
42
43
44
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.cabal/bin:$PATH"
fi
NPM_PACKAGES="${HOME}/.npm-packages"
if [ -d $NPM_PACKAGES ] ; then
PATH="$PATH:$NPM_PACKAGES/bin"
export MANPATH="${MANPATH-$(manpath)}:$NPM_PACKAGES/share/man"
fi
if [ -d "/usr/local/texlive/2021/bin/x86_64-linux" ] ; then
PATH="/usr/local/texlive/2021/bin/x86_64-linux:$PATH"
fi
# node-v16.14.0-linux-x64
if [ -d "/usr/local/lib/nodejs/node-v16.14.0-linux-x64/bin" ] ; then
PATH="/usr/local/lib/nodejs/node-v16.14.0-linux-x64/bin:$PATH"
fi
# if interactive
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
export GOPATH=$HOME/go
export PATH="$PATH:$GOPATH/bin:$HOME/.cargo/bin:/usr/local/go/bin"
export PATH=/usr/local/cuda/bin${PATH:+:${PATH}}
. "$HOME/.cargo/env"
[ -f "/home/sk/.ghcup/env" ] && . "/home/sk/.ghcup/env" # ghcup-env