Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Message printed to iTerm2 after every input #499

Open
LorenzoManfrediSegato opened this issue Apr 1, 2024 · 1 comment
Open

Message printed to iTerm2 after every input #499

LorenzoManfrediSegato opened this issue Apr 1, 2024 · 1 comment
Labels
🐛 bug Something isn't working

Comments

@LorenzoManfrediSegato
Copy link

LorenzoManfrediSegato commented Apr 1, 2024

Describe the bug

After entering a git directory, every command/input entered into iTerm 2 yields the following message printed:

set: -e: option requires an argument

~/.config/fish/functions/_tide_pwd.fish (line 23):
            set -e glob[(contains -i $parent_dir/$dir_section/ $glob)] # This is faster than inverse string match
            ^
in function '_tide_pwd'
	called on line 1 of file ~/.config/fish/functions/fish_prompt.fish
in command substitution
	called on line 1 of file ~/.config/fish/functions/fish_prompt.fish
in command substitution
	called on line 16 of file ~/.config/fish/functions/fish_prompt.fish
in function 'fish_prompt'
in command substitution
(Type 'help set' for related documentation)

Typing "help set" directs me back to the most recent existing open browser tab

Steps to reproduce

  1. cd into a git directory
  2. run input commands

Screenshots

Video:
https://github.com/IlanCosman/tide/assets/51752036/7d7c0be6-f3e3-46dc-826c-40b8c49a85cd

Environment

Output of tide bug-report:

fish version: 3.6.1
tide version: 6.1.1
term: xterm-256color
os: macOS
terminal emulator: iTerm2
fish startup: 5.54 millis
fisher plugins: jorgebucaran/fisher ilancosman/tide@v6

Additional context

@LorenzoManfrediSegato LorenzoManfrediSegato added the 🐛 bug Something isn't working label Apr 1, 2024
@ALuck0
Copy link

ALuck0 commented May 24, 2024

I'm also running into this same issue:

fish version: 3.7.1
tide version: 6.1.1
term: xterm-256color
os: macOS
terminal emulator: iTerm2
fish startup: 26.33 millis
fisher plugins: jorgebucaran/fisher ilancosman/tide@v6 edc/bass fabioantunes/fish-nvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working
2 participants