Skip to content

dterei/shell-settings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shell Settings

My personal shell settings, heavily customised and refined over the years.

TODO

Zsh Load Order

Global: zshenv -> zprofile -> zshrc -> zlogin

None:

  • zshenv

Login Only:

  • zshenv -> zprofile -> zlogin

Interactive Only:

  • zshenv -> zshrc

Login + Interactive:

  • zshenv -> zprofile -> zshrc -> zlogin

Understanding Login + Interactive

  • New gnome-terminal: interactive
  • New tmux: login + interactive
  • New ssh: login + interactive
  • ssh : none
  • ./script: none

Arch & Zsh

Arch in a very annoying decision resets your PATH after sourcing .zshenv, forcing you to set your PATH in .zprofile or .zshrc. We work around this by sourcing .shenv to set the PATH from both .zshenv and .zprofile, but observing if this isn't a login shell to ensure only one of them fires.

Licensing

This library is BSD-licensed.

Authors

This library is written and maintained by David Terei.

About

Unix shell settings

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published