.bash_profile 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. # This file is sourced by bash for login shells. The following line
  2. # runs your .bashrc (recommended by the bash info pages).
  3. if [[ -f ~/.bashrc ]];
  4. then
  5. . ~/.bashrc
  6. fi
  7. #c'est l'histoire d'un informaticien qui change ses variables d'environnement,
  8. #et PATH le chemin !
  9. PATH=$PATH:$HOME/bin:$HOME/install/bin export PATH
  10. #export GIT_ASKPASS=
  11. #export SSH_ASKPASS=
  12. export PASSWORD_STORE_CLIP_TIME=180
  13. export SSH_AUTH_SOCK="/run/user/$(id -u)/gnupg/S.gpg-agent.ssh"
  14. export CUPS_GSSSERVICENAME="ipp"
  15. #export XAUTHORITY=~/.Xauthority
  16. #export CALCURSE_CALDAV_PASSWORD="$(~/.config/vdirsyncer/imta-password.sh) calcurse-caldav"
  17. export CLASSPATH=${CLASSPATH}:.
  18. #=============================================================================
  19. #Scala for the former practical session of previous IDL (3A)
  20. #export SCALA_CLASSPATH=${HOME}/dl/scala-swing_2.11-2.0.0-M2.jar
  21. #export CLASSPATH=${CLASSPATH}:${SCALA_CLASSPATH}
  22. #=============================================================================
  23. #export W3MIMGDISPLAY_PATH=/usr/libexec/w3m/w3mimgdisplay
  24. HOMEINSTALLPREFIX=${HOME}/install
  25. HOMEINSTALLPATH=${HOMEINSTALLPREFIX}:${HOMEINSTALLPREFIX}/activator-dist-1.3.7/:${HOMEINSTALLPREFIX}/compcert/bin:${HOMEINSTALLPREFIX}/tor-browser/:${HOMEINSTALLPREFIX}/ltsatool/:${HOMEINSTALLPREFIX}/AtelierB/atelierb-4.2/:${HOMEINSTALLPREFIX}/jgrasp:${HOMEINSTALLPREFIX}/cesium_duniter/nw/:${HOMEINSTALLPREFIX}/cesium_duniter/:${HOMEINSTALLPREFIX}/duniter/:${HOMEINSTALLPREFIX}/duniter/bin/:${HOMEINSTALLPREFIX}/evince_synctex/:${HOME}/.dwarf-fortress/:${HOMEINSTALLPREFIX}/opam/:${HOMEINSTALLPREFIX}/vcstool/bin/:${HOMEINSTALLPREFIX}/JabRef/bin:${HOMEINSTALLPREFIX}/Battery/:${HOMEINSTALLPREFIX}/spark/
  26. #:${HOMEINSTALLPREFIX}/ddgr/bin/:${HOMEINSTALLPREFIX}/tuir/
  27. GITPREFIX=${HOME}/git-repo
  28. GITPATH=${GITPREFIX}/imgur-screenshot/:${GITPREFIX}/taf-ilsd/contenu/fiab/kbrw/imt_order_chapitre2/:${GITPREFIX}/mdr/:${GITPREFIX}/glow/
  29. CARGOBIN=${HOME}/.cargo/bin
  30. CABALBIN=${HOME}/.cabal/bin
  31. LOCALBIN=${HOME}/.local/bin
  32. #:~/pharo/Pillar/
  33. MYPATH=~/eclipseSoft/:${TOM_HOME}/install/pharo/:${TOM_HOME}/bin:${HOMEINSTALLPATH}:${CABALBIN}:${LOCALBIN}:${CARGOBIN}:${GITPATH}:${HOMEINSTALLPATH}/tor-browser
  34. ### TEXINPUTS ###
  35. export TEXDIR=${HOME}/install/TEXDIR
  36. #pour latex et makeDoc.pl dans info-utils/
  37. INFO_UTILS=${HOME}/svn/info-utils
  38. SEMASCOP=${HOME}/git-repo/semascop
  39. SEMASCOP_TEXINPUTS=${SEMASCOP}/tex-utils:${SEMASCOP}/tex-utils/Modele
  40. CAPRICA=${HOME}/git-repo/caprica
  41. CAPRICA_COMMON_ASSETS_DIR=${CAPRICA}/common-assets
  42. CAPRICA_COMMON_ASSETS=`echo ${CAPRICA_COMMON_ASSETS_DIR}/* | tr ' ' ': '`
  43. CAPRICA_BEAMER_THEMES_DIR==${CAPRICA}/beamer-themes
  44. CAPRICA_BEAMER_THEMES=`echo ${CAPRICA_BEAMER_THEMES_DIR}/* | tr ' ' ': '`
  45. CAPRICA_LATEX_ASSETS_DIR=${CAPRICA}/latex-assets
  46. CAPRICA_LATEX_ASSETS=`echo ${CAPRICA_LATEX_ASSETS_DIR}/* | tr ' ' ': '`
  47. CAPRICA_TEXINPUTS=${CAPRICA_COMMON_ASSETS}:${CAPRICA_BEAMER_THEMES}:${CAPRICA_LATEX_ASSETS}
  48. #export BIBINPUTS=${HOME}/recherche/jabrefBibs
  49. #.bib de Benjamin
  50. export BIBINPUTS=.:${HOME}/git-repo/caprica/bibliography/bib/
  51. export TEXINPUTS=.:${INFO_UTILS}:${INFO_UTILS}/styles/trunk:${INFO_UTILS}/images:${INFO_UTILS}/images/CC:${SEMASCOP_TEXINPUTS}:${CAPRICA_TEXINPUTS}:${TEXDIR}:${HOME}/git-repo/betterIMTABeamerTemplate/:
  52. ### /TEXINPUTS ###
  53. export OTHERPATH=/usr/share/fslint/fslint
  54. export PATH=${MYPATH}:/usr/bin:/usr/sbin:${INFO_UTILS}/scripts:${OTHERPATH}:${PATH}
  55. ##test go & gogs
  56. #export GOROOT=$HOME/install/local/go >> $HOME/.bashrc
  57. #export GOPATH=$HOME/install/go >> $HOME/.bashrc
  58. #export PATH=$PATH:$GOROOT/bin:$GOPATH/bin >> $HOME/.bashrc
  59. #warn the vm that xmonad is non-reparenting
  60. export _JAVA_AWT_WM_NONREPARENTING=1
  61. #export AWT_TOOLKIT=XToolkit
  62. export AWT_TOOLKIT=MToolkit
  63. #export LC_ALL="en_GB.UTF-8"
  64. #export LANG="en_GB.UTF-8"
  65. export SWT_GTK3=0
  66. #pas supporté par GTK3
  67. #export GDK_NATIVE_WINDOWS=1
  68. export NO_AT_BRIDGE=1
  69. #???
  70. #export GPG_TTY=`tty`
  71. #???
  72. #echo "UPDATESTARTUPTTY" | gpg-connect-agent > /dev/null 2>&1
  73. #to make terminology work with input methods
  74. export ECORE_IMF_MODULE="xim"
  75. export XMODIFIERS="@im=none"
  76. export SCIPY_PIL_IMAGE_VIEWER=eog
  77. #feh
  78. #try to solve an xmobar/dbus problem:
  79. export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
  80. export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
  81. #try to solve anothe pb (telegram, pas d'accents, => ibus-setup)
  82. #export GTK_IM_MODULE=ibus
  83. #export XMODIFIERS=@im=ibus
  84. #export QT_IM_MODULE=ibus
  85. #c'est censé utiliser l'accélération matérielle si possible dans Firefox
  86. #export MOZ_USE_OMTC=1
  87. #export SCIPY_PIL_IMAGE_VIEWER=display
  88. #hmmm, m'kay
  89. . /home/jcbach/.opam/opam-init/init.sh > /dev/null 2> /dev/null || true
  90. #export OCAMLPATH=${OCAMLPATH}:${HOME}/.opam
  91. #export OCAMLPATH=${OCAMLPATH}:/usr/lib64/ocaml/
  92. eval `opam config env`