pure: iTerm2 shell integration broken.
- fish 3.0.0
- iTerm2 3.2.6
- pure 1.13.0 (installed through fisher 3.2.2)
$ fish
functions: Function 'fish_mode_prompt' does not exist
~/.iterm2_shell_integration.fish (line 59):
functions -c fish_mode_prompt iterm2_fish_mode_prompt
^
from sourcing file ~/.iterm2_shell_integration.fish
called on line 7 of file ~/.config/fish/config.fish
from sourcing file ~/.config/fish/config.fish
called during startup
functions - print or erase functions
Synopsis
functions [ -a | --all ] [ -n | --names ]
functions [ -D | --details ] [ -v ] FUNCTION
functions -c OLDNAME NEWNAME
functions -d DESCRIPTION FUNCTION
functions [ -e | -q ] FUNCTIONS...
functions: Type 'help functions' for related documentation
fish: Unknown command 'iterm2_fish_mode_prompt'
~/.iterm2_shell_integration.fish (line 69):
iterm2_fish_mode_prompt
^
in function 'fish_mode_prompt'
called on standard input
in command substitution
called on standard input
~
❯
❯ echo $pure_version
1.13.0
fish: Unknown command 'iterm2_fish_mode_prompt'
~/.iterm2_shell_integration.fish (line 69):
iterm2_fish_mode_prompt
^
in function 'fish_mode_prompt'
called on standard input
in command substitution
called on standard input
~
❯
my config.fish:
test -e {$HOME}/.iterm2_shell_integration.fish ; and source {$HOME}/.iterm2_shell_integration.fish
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 17 (6 by maintainers)
I have installed it through fisher.
yeah, so other themes I used had
fish_mode_prompt.fishwith emptyfish_mode_promptfunctionSorry for my late reply. Defining empty
fish_mode_promptfunction in myconfig.fishhelps.@edouard-lopez actually, removing the file
fish_mode_prompt.fishhelpsWe just need to define dummy
fish_mode_promptfunction or remove this empty file altogether. Although I recall that iTerm marker will be misplaced. Perhaps, we should consider to add custom support for it to align it properly.@JunJi-JiaYue while I’m looking into it, you can remove
fish_mode_prompt.fishfromfunctionsfolder to fix it locally if you don’t want to wait for a patch.