Comments (2)
Unfortunately, as far as we define aliases with short names, any aliases can conflict with aliases and commands from other frameworks. In this sense, renaming alias gk
to another name wouldn't resolve the root cause of the problem. Actually, possible name conflicts are inevitable in principle with any names of aliases.
Then, what we can do here is to ask each user to choose a preferred one and resolve the conflicts.
I can disable "gk" alias myself, but it will be re-enabled with the next update.
Did you actually confirm that the gk
alias is re-enabled by the oh-my-bash (OMB) update? It depends on how you disable the gk
alias, but I don't think it will be re-enabled with the OMB update.
- For example, you can disable the
gk
alias by specifyingunalias gk
aftersource /path/to/oh-my-bash.sh
in your.bashrc
. In this case, even if you update OMB, the lineunalias gk
is still present in your.bashrc
, so the alias will not be enabled. - Or you can disable the
gk
alias by customizing thegit
plugin following Customization of Plugins and Themes - README. In this case, the customized version of the plugin has always higher precedence than the bundled one, so thegk
alias will never be re-enabled by the OMB update. - Another way could be to disable the
gk
alias by directly editing the plugin file in the repository. In this case, the OMB update will be blocked because the OMB update checks if there are any uncommitted changes in the repository and cancels the update if any. You need to commit your changes and, depending on your.gitconfig
, you need to manually merge or resolve conflicts using the standardgit
commands. Anyway, thegk
alias will not be re-enabled automatically.
from oh-my-bash.
I wasn't expecting such a complete answer :) I will try your solutions.
Thank you !
from oh-my-bash.
Related Issues (20)
- Install on WSL - error line 2 of .bashrc syntax error near unexpected token `$'in\r'' HOT 3
- Feature Request: Blacklisting Themes
- QUESTION: How you make the command in diffrent color than the rest of the line HOT 1
- nvm plugin always add "v" for version prefix although it's not a semantic version HOT 1
- History poluted with some lines with numbers HOT 3
- Misleading comments for `chmod` aliases
- Terminal has missing symbol why iTerm does not HOT 2
- Anyon with the same error? Theme sexy HOT 2
- Docker completion is not up-to-date HOT 4
- brutally messed up omb installation HOT 1
- Hope to add Synth-shell. HOT 1
- Unknow font for this theme. HOT 4
- cannot update .ohmybash HOT 1
- Wrong shell expression output HOT 1
- problems with cd on sshfs mounted directory with git repositories HOT 2
- Problems with tmux > detaching or killing session HOT 1
- Allow for a way to not alter bash files directly, but to make changes that can be sourced HOT 3
- Robby russell theme issue HOT 2
- .bashrc is running twice when SSH into remote server HOT 4
- How to use "U+e0b6" () at the beginning of the prompt? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oh-my-bash.