.bash_profile 1.5 KB

1234567891011121314151617181920212223242526272829303132
  1. # Honor per-interactive-shell startup file
  2. if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
  3. # enable my vala profile with gtk+ 3
  4. # if you put an export there, it'll not work...
  5. GUIX_PROFILE="$HOME/.guix-extra-profiles/vala/vala" . "$GUIX_PROFILE/etc/profile"
  6. # set up package config directories
  7. export PKG_CONFIG_PATH="$HOME/.guix-profile/lib/pkgconfig:$HOME/.guix-profile/share/pkgconfig/"
  8. export PATH="$PATH:$HOME/.emacs.d/bin"
  9. # I should probably set up to log in to /dev/tty2 or 3 automatically and not tty1.
  10. # tty1 is where debug output is generally sent.
  11. if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty2 ]]; then
  12. export MOZ_ENABLE_WAYLAND=1
  13. # below is how I used to use my custom channel without adding it to .config/guix/channels.scm
  14. # export GUIX_PACKAGE_PATH=/home/joshua/prog/gnu/guix/guix-packages/
  15. # this is how I use my custom code in my channel without adding my channel to .config/guix/channels.scm
  16. # and it still doesn't work
  17. export GUILE_LOAD_PATH=/home/joshua/prog/gnu/guix/guix-packages/:$GUILE_LOAD_PATH
  18. # export GUILE_LOAD_PATH=/home/joshua/prog/gnu/guix/rde:$GUILE_LOAD_PATH;
  19. export XDG_DATA_DIRS=/var/lib/flatpak/exports/share:/home/joshua/.local/share/flatpak/exports/share:$XDG_DATA_DIRS
  20. # this may fix a bug that I have with termite confusing backspace as space in guix environment
  21. # export TERM=linux
  22. # shepherd -c /home/joshua/.config/shepherd/init.scm &
  23. #exec dbus-run-session sway
  24. #export XDG_SESSION_TYPE=wayland
  25. #exec dbus-run-session gnome-session
  26. emacs
  27. fi