oh-my-bash icon indicating copy to clipboard operation
oh-my-bash copied to clipboard

alias 'd' conflict

Open liuhuiping2013 opened this issue 3 years ago • 1 comments

in lib/directories.sh alias d='dirs -v | head -10'

in plugins/bashmarks/bashmarks.plugin.sh alias d='bm -d'

i like dirs!

liuhuiping2013 avatar Jun 07 '22 08:06 liuhuiping2013

Thank you for the report! Hmm, to resolve the conflict, I think we need to rename either one. However, it's difficult to decide which one to preserve and which one to change because some people want one and some other people want the other. In this case, you can just re-override the alias by yourself after sourcing oh-my-bash in your .bashrc. Do you have a better idea to resolve the issue on the oh-my-bash side in your mind?

akinomyoga avatar Jun 07 '22 22:06 akinomyoga

I realized this is actually a duplicate of #63. I'll close it in favor of #63.

akinomyoga avatar Sep 29 '22 11:09 akinomyoga

If you have replies or further comments, please reply in #63. Thank you!

akinomyoga avatar Sep 29 '22 11:09 akinomyoga