shell: add .profile (based on .zprofile)
[~bandali/configs] / .profile
1 #PATH="$(ruby -e 'print Gem.user_dir')/bin:$PATH"
2 #PATH=$HOME/.gem/ruby/2.4.0/bin:$PATH
3 export PATH=$HOME/.local/bin:$HOME/.cabal/bin:$HOME/.cargo/bin:$HOME/.elan/bin:$PATH
4 export XDG_CONFIG_HOME=$HOME/.config
5 export XDG_DATA_HOME=$HOME/.local/share
6 export XDG_DATA_DIRS=/usr/local/share:/usr/share
7 export MAILDIR="$HOME/mail"
8 export CVS_RSH=ssh
9 #export MATHMODELS=$HOME/src/eiffel/mathmodels
10 #export RUST_SRC_PATH=~/.multirust/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src
11 #export PATH=$PATH:$HOME/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/bin/
12
13 # Eiffel2Java stuff
14 #export JAVA_HOME=/usr/lib/jvm/default
15 #export CPATH=$CPATH:"$JAVA_HOME/include:$JAVA_HOME/include/linux"
16 #export LIBRARY_PATH=$LIBRARY_PATH:"$JAVA_HOME/jre/lib/amd64/server"
17 #export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:"$JAVA_HOME/jre/lib/amd64/server"
18
19 #export PATH="$HOME/usr/build/pvs:$PATH"
20 #export SBCLISP_HOME=/usr/share/sbcl-source
21 #export PVS_LIBRARY_PATH="$HOME/usr/build/pvs/nasalib"
22
23 export MOZ_USE_XINPUT2=1 # precise scrolling in firefox
24
25 #export JAVA_HOME=/usr/lib/jvm/java-8-openjdk
26 #export ANDROID_JACK_VM_ARGS="-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx4G"
27
28 export NIXPKGS=$HOME/src/git/nixpkgs
29
30 if [ -e /home/amin/.nix-profile/etc/profile.d/nix.sh ]; then . /home/amin/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer
31
32 export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale"
33 export PATH="/$HOME/.config/guix/current/bin${PATH:+:}$PATH"
34 export SSL_CERT_DIR="$HOME/.guix-profile/etc/ssl/certs"
35 export SSL_CERT_FILE="$HOME/.guix-profile/etc/ssl/certs/ca-certificates.crt"
36 export GIT_SSL_CAINFO="$SSL_CERT_FILE"