Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Bulliby opened this issue Jun 22, 2019 · 1 comment · May be fixed by #97
Open

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

Bulliby opened this issue Jun 22, 2019 · 1 comment · May be fixed by #97
Assignees
Labels
P3 - Normal Priority 3 - Normal

Comments

@Bulliby
Copy link

Bulliby commented Jun 22, 2019

alias d='bm -d' # Delete a bookmark [bookmark_name]

Conflicts with

alias d='dirs -v | head -10'

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

@Kreyren Kreyren added the P3 - Normal Priority 3 - Normal label Aug 15, 2019
@Kreyren Kreyren self-assigned this Aug 15, 2019
Kreyren pushed a commit to RXT067/what-the-bash that referenced this issue Aug 15, 2019
@akinomyoga
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P3 - Normal Priority 3 - Normal
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants