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.

README.txt 1.3 KiB

11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
11 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. Dotfiles
  2. ========
  3. First Principle
  4. ---------------
  5. __Do not go out of ways how the default environments work__.
  6. There are many cases when I must work on foreign environments, and it is always
  7. VERY irritating when things do not work as I expected, yet setting up my own
  8. environment is troublesome. So I avoid changing behaviors of tools, except
  9. for emacs.
  10. Emacs is the editor I usually use for coding. I decided to change the behavior
  11. of emacs as I want without thinking about other environments. When I cannot use
  12. my emacs.el I'll use vi or vim instead.
  13. Other tools like bash and vim basically work in the same ways even when using my
  14. rc files. The main changes are related to showing informations, typically in the
  15. bash prompt.
  16. shrc.common
  17. -----------
  18. `setup.sh` will create file "$HOME/.shrc.common". This file define some
  19. variables that can be used to detect system type. This file is sourced from
  20. both `setup.sh` and `shrc`.
  21. Sourcing flow
  22. -------------
  23. When using `sh`, rc file for interactive use is found by `ENV` and it is usually
  24. set to `$HOME/.shrc`.
  25. $HOME/.{ba,z}shrc <= bash, zsh
  26. |
  27. `--$HOME/.shrc <= sh
  28. |
  29. `--$HOME/.dotfiles/shrc
  30. ~/.xinitrc <= startx
  31. |
  32. `--openbox-session
  33. |
  34. |--~/.dotfiles/xprofile
  35. |
  36. `--~/.dotfiles/xprograms