emacs: use conf-mode .*rc files, but use sh-mode for .bashrc
[~bandali/configs] / .profile
1 export INPUTRC="$XDG_CONFIG_HOME"/readline/inputrc
2 export SCREENRC="$XDG_CONFIG_HOME"/screen/screenrc
3
4 export EDITOR="emacsclient -nw"
5 export VISUAL="emcl"
6
7 export PATH="$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin${PATH:+:}$PATH"
8
9 export XDG_CONFIG_HOME="$HOME/.config"
10 export XDG_DATA_HOME="$HOME/.local/share"
11 export XDG_DATA_DIRS="/usr/local/share:/usr/share"
12
13 export MAILDIR="$HOME/mail"
14 export CVS_RSH="ssh"
15
16 if [ -x "$(command -v guix)" ]; then
17 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
18 export PATH="$HOME/.config/guix/current/bin${PATH:+:}$PATH"
19 export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
20 export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
21 export GIT_SSL_CAINFO="$SSL_CERT_FILE"
22 fi
23
24 export NIXPKGS="$HOME/src/git/nixpkgs"