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

Installation on macOS Catalina with oh-my-zsh #57

Open
vedmichv opened this issue Aug 6, 2020 · 4 comments
Open

Installation on macOS Catalina with oh-my-zsh #57

vedmichv opened this issue Aug 6, 2020 · 4 comments

Comments

@vedmichv
Copy link

vedmichv commented Aug 6, 2020

All prerequsite installed but during the installation I see the following output:

[ -f /Users/1/apps/fubectl/fubectl.source ] && source /Users/1/apps/fubectl/fubectl.source
/Users/1/apps/fubectl/fubectl.source:90: defining function based on alias `ked'
/Users/1/apps/fubectl/fubectl.source:90: parse error near `()'
@erdii
Copy link
Contributor

erdii commented Aug 12, 2020

you need to disable oh-my-zsh's other kubectl plugin

@saahildhulla
Copy link

how do you do that?

@erdii
Copy link
Contributor

erdii commented Feb 16, 2021

in your ~/.zshrc:
plugins=(common-aliases systemd fzf direnv kubectl docker aws archlinux)

>> kubectl << this is the 'official' kubectl plugin for oh-my-zsh

you need to remove this from the plugins list.

@luisdavim
Copy link
Contributor

this #86 should avoid the error messages if the user wishes to keep their custom aliases on top of what's provided by fubectl.

When using the keyword function, the name of the function doesn't get expanded even if there is an alias with the same name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants