ohmybash / oh-my-bash

A delightful community-driven framework for managing your bash configuration, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.
https://ohmybash.github.io
MIT License
5.59k stars 628 forks source link

Alias conflict between bashmarks.sh and directories.sh #63

Open Bulliby opened 5 years ago

Bulliby commented 5 years ago

https://github.com/ohmybash/oh-my-bash/blob/5b680bf30a688cb03930366ff045aab3044669ee/plugins/bashmarks/bashmarks.plugin.sh#L219

Conflicts with

https://github.com/ohmybash/oh-my-bash/blob/53fb803740d962e8c617a67f71cd1dc6a85a1177/lib/directories.sh#L24

EDIT: making the issue more effective to understand - @Kreyren

akinomyoga commented 1 year ago

Some discussion from #333.

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?

I still do not know how to cleanly solve this conflict. If any of you have better/possible solutions, please feel free to share them here.