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

oh-my-zsh's osx plugin shadows the tab executable with a shell function #156

Open
Jacobious52 opened this issue Oct 3, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@Jacobious52
Copy link

When running on the BlinkSh https://github.com/blinksh/blink with host macOS over ssh, the follow error is reported after hanging for about a minute.

This happens with any command. For example

[~]   tab --install all
tab: unsupported terminal app: 
[~] # above takes about 60 seconds to print and exit

Installed with cargo install

@austinjones austinjones added the bug Something isn't working label Oct 3, 2020
@austinjones
Copy link
Owner

Hi @Jacobious52,
I think the tab: unsupported terminal app message is being printed by your shell.

I think it may be coming from this oh-my-zsh plugin, which wasn't installed on my system when I tested oh-my-zsh. https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/osx/osx.plugin.zsh

The plugin defines a function which is suspiciously named tab: https://github.com/ohmyzsh/ohmyzsh/blob/master/plugins/osx/osx.plugin.zsh#L22 - and seems to check for terminal emulators.

Is this plugin in your ~/.zshrc ?

@austinjones
Copy link
Owner

austinjones commented Oct 3, 2020

I was just able to reproduce it by adding the osx plugin to my ~/.zshrc.

Thanks for the bug report - this is really useful to know about!

@austinjones austinjones changed the title BlinkSh Terminal emulator: install unsupported terminal app oh-my-zsh's osx plugin shadows the tab executible with a shell function Oct 3, 2020
@austinjones austinjones changed the title oh-my-zsh's osx plugin shadows the tab executible with a shell function oh-my-zsh's osx plugin shadows the tab executable with a shell function Oct 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants