Skip to content

Defining a shell alias src somehow conflicts with try and launches try instead #118

Description

@jjrush

Adding:
eval $(try init "Users/rushjj1/try")
to .zshrc in order for try to work properly causes the word src to be an alias for try

Even if you do this:

unalias src 2>/dev/null || true
unset -f src 2>/dev/null || true

src() {
    builtin source ~/.zshrc
}

running src will still launch try

try should be the only thing added to the shell space.

Removing try prevents the shell naming pollution. Removing the eval line from .zshrc also prevents the naming pollution but of course try doesn't work without those.

this was with installing both ruby and try via homebrew

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions