smartcd icon indicating copy to clipboard operation
smartcd copied to clipboard

Problems when autostash alias override existing .bashrc defined alias

Open myitcv opened this issue 6 years ago • 0 comments

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.

myitcv avatar Apr 15 '19 12:04 myitcv