Move source ~/.profile to ~/.zprofile
See the comments in .zprofile for an explanation and a link to a much larger conversation about this issue. It's a bit messy.
This commit is contained in:
parent
7f0c0084e2
commit
da070adf8a
2 changed files with 10 additions and 2 deletions
10
configs/shared/zsh/.zprofile
Normal file
10
configs/shared/zsh/.zprofile
Normal file
|
@ -0,0 +1,10 @@
|
|||
# ZSH seems to avoid sourcing ~/.profile during SSH sessions.
|
||||
# X (or something else) seems to source ~/.profile with it initializes.
|
||||
# Putting this here allows my SSH sessions to have the expected configuration.
|
||||
#
|
||||
# Putting this here instead of in my .zshrc or .zshenv is advantageous since it
|
||||
# is only called once when a terminal is created; subshells and nested ZSH
|
||||
# sessions don't re-source this file.
|
||||
#
|
||||
# See this thread for more information: https://groups.google.com/a/google.com/forum/#!topic/zsh-users/VO2lEJRfFzk
|
||||
source ~/.profile
|
|
@ -1,5 +1,3 @@
|
|||
source ~/.profile
|
||||
|
||||
source ~/antigen.zsh
|
||||
|
||||
# Load the oh-my-zsh library
|
||||
|
|
Loading…
Reference in a new issue