Skip to content

Conversation

@Dbz
Copy link
Owner

@Dbz Dbz commented Sep 11, 2021

This is a zsh plugin again

Comment on lines 34 to 38
_, err = io.WriteString(aliasFile, "#!/bin/bash\n")
if err != nil {
return fmt.Errorf("Warning: could not write shebang", err)
}

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think this is required. Sourcing the file should be sufficient.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This definitely isn't required. I just feel like it's good practice?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe its completely ignored when the file is sourced. It doesnt hurt anything so Im okay for keeping it.

@patmessina
Copy link
Collaborator

Ill add this if youd like. But if we want to move this to the official oh-my-zsh thing. We probably wanna add the generating aliases command we built out.

Think it would need to add a bin to path and pull the latest built release to that. Im not sure if that is the standard ways of doing things.

@Dbz
Copy link
Owner Author

Dbz commented Sep 19, 2021

I am not sure if we'll be permitted to add the generating aliases binary to the official oh-my-zsh repo, but we should definitely be allowed to at least add our generated aliases

@patmessina
Copy link
Collaborator

So, we definitely should write a testing thing to check if all aliases work. A brainstorm use a kind cluster that we can run the aliases on and check if they work. At least the main generated aliases.

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

Successfully merging this pull request may close these issues.

4 participants