ghostty: only source fish shell integration script when shell is interactive (#7228)
The ghostty script adds hooks that are only relevant in an interactive shell session.
This commit is contained in:
parent
627157cceb
commit
06451df423
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ in
|
|||
})
|
||||
|
||||
(lib.mkIf cfg.enableFishIntegration {
|
||||
programs.fish.shellInit = ''
|
||||
programs.fish.interactiveShellInit = ''
|
||||
if set -q GHOSTTY_RESOURCES_DIR
|
||||
source "$GHOSTTY_RESOURCES_DIR/shell-integration/fish/vendor_conf.d/ghostty-shell-integration.fish"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue