nathanshelly / .files

.💙
16 stars 8 forks source link

Fix sourcing `zsh` issue #78

Closed nathanshelly closed 4 years ago

nathanshelly commented 4 years ago

Should be able to run source ~/.zshrc and have everything work perfectly. Instead you get what you see below:

asciicast

nathanshelly commented 4 years ago

Likely relevant: https://github.com/zsh-users/zsh-syntax-highlighting/issues/322

nathanshelly commented 4 years ago

If I comment out the sourcing of manydots.zsh in zshrc.symlink (this line - https://github.com/nathanshelly/.files/blob/aac4ea9df56b2a57e50fcb3fe4487b8d406e334d/zsh/zshrc.symlink#L25) then this problem no longer exists. That file is a modified version of this - https://github.com/knu/zsh-manydots-magic.

nathanshelly commented 4 years ago

Fixed by only running manydots.on once, avoiding recursive calls