-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Milestone
Description
I am using xonsh which will source zshrc from its own rc file. However, I found the current shell integration injection (the code below) breaks the zsh grammar.
This can be easily fixed if the following line
[[ "$TERM_PROGRAM" == "CodeEditApp_Terminal" ]] && . "/Applications/CodeEdit.app/Contents/Resources/codeedit_shell_integration.zsh"
was rewritten to
if [[ $TERM_PROGRAM == "CodeEditApp_Terminal" ]]; then
source "/Applications/CodeEdit.app/Contents/Resources/codeedit_shell_integration.zsh"
fi
This is IMO a more compatible way to write these lines.
PLUS, I think it is a necessity to notice the users when manipulating their shell rc files! Not everyone will welcome unexpected rc file change!
ffuugooffuugoo
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🏁 Complete