bash: various tweaks
[~bandali/configs] / .profile
1 export VISUAL="emacsclient -c"
2
3 export PATH="$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin${PATH:+:}$PATH"
4
5 export XDG_CONFIG_HOME="$HOME/.config"
6 export XDG_DATA_HOME="$HOME/.local/share"
7 export XDG_DATA_DIRS="/usr/local/share:/usr/share"
8
9 export MAILDIR="$HOME/mail"
10 export CVS_RSH="ssh"
11
12 if [ -x "$(command -v guix)" ]; then
13 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
14 export PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
15 export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
16 export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
17 export GIT_SSL_CAINFO="$SSL_CERT_FILE"
18 fi
19
20 export NIXPKGS="$HOME/src/git/nixpkgs"