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.

11 年之前
11 年之前
11 年之前
11 年之前
11 年之前
11 年之前
11 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12 年之前
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. $HOME/.profile <= console login (maybe sourced from .{ba,z}sh_profile)
  24. |
  25. `--$HOME/.{ba,z}shrc
  26. |
  27. `--$HOME/.dotfiles/shrc
  28. ~/.xinitrc <= startx
  29. |
  30. `--openbox-session
  31. |
  32. |--~/.dotfiles/xprofile
  33. |
  34. `--~/.dotfiles/xprograms