-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
61 lines (46 loc) · 1.27 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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
if [ -d "$HOME/.local/bin" ] ; then
PATH="$HOME/.local/bin:$PATH"
fi
export TERM='xterm-256color'
# preferred editor for local and remote sessions
if [[ -n $SSH_CONNECTION ]]; then
export EDITOR='nvim'
else
export EDITOR='nvim'
fi
# nvim
export PATH="$PATH:/opt/nvim-linux64/bin"
# kensington trackball config
eval "~/.device/trackball.sh"
# nix
if [ -e /home/go/.nix-profile/etc/profile.d/nix.sh ]; then . /home/go/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
# rust
. "$HOME/.cargo/env"
# go
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:`go env GOPATH`/bin
# pyenv
export PATH="$HOME/.pyenv/bin:$PATH"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
# fnm
export PATH="$HOME/.local/share/fnm:$PATH"
eval "$(fnm env --multi 2> /dev/null)"
# pnpm
export PNPM_HOME="$HOME/.local/share/pnpm"
case ":$PATH:" in
*":$PNPM_HOME:"*) ;;
*) export PATH="$PNPM_HOME:$PATH" ;;
esac
# pg
export PATH="$PATH:/usr/lib/postgresql/15/bin"
# envman
[ -s "$HOME/.config/envman/load.sh" ] && source "$HOME/.config/envman/load.sh"
export SEER=~/m/seer/main
# flyctl
export FLYCTL_INSTALL="/home/go/.fly"
export PATH="$FLYCTL_INSTALL/bin:$PATH"