Skip to content

Problems when autostash alias override existing .bashrc defined alias #64

@myitcv

Description

@myitcv

Place the following in your .bashrc:

alias hello='echo "hello world"'

Then setup an enter script for any directory containing the following:

autostash alias hello='echo "hello gophers"'

Then cd into that directory, you will see the following error:

$ cd -
/home/myitcv/blah
smartcd: running /home/myitcv/.smartcd/scripts/home/myitcv/blah/bash_enter

Command 'world'' not found, did you mean:

  command 'world' from snap world (4.0)

See 'snap info <snapname>' for additional versions.

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