My dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
926 B

6 months ago
  1. # ~/.profile: executed by the command interpreter for login shells.
  2. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
  3. # exists.
  4. # see /usr/share/doc/bash/examples/startup-files for examples.
  5. # the files are located in the bash-doc package.
  6. # the default umask is set in /etc/profile; for setting the umask
  7. # for ssh logins, install and configure the libpam-umask package.
  8. #umask 022
  9. # if running bash
  10. if [[ -n "$BASH_VERSION" ]] ; then
  11. # include .bashrc if it exists
  12. if [ -f "$HOME/.bashrc" ]; then
  13. . "$HOME/.bashrc"
  14. fi
  15. fi
  16. # Set the locale
  17. export LC_CTYPE="en_US.UTF-8"
  18. # set PATH so it includes user's private bin if it exists
  19. if [ -d "$HOME/bin" ] ; then
  20. PATH="$HOME/bin:$PATH"
  21. fi
  22. if [ -d "$HOME/.local/bin" ] ; then
  23. PATH="$HOME/.local/bin:$PATH"
  24. fi
  25. if [ -d "$HOME/go/bin" ] ; then
  26. PATH="$HOME/go/bin:$PATH"
  27. fi
  28. export EDITOR=nvim
  29. export VISUAL=$EDITOR
  30. export PAGER=less