-
Notifications
You must be signed in to change notification settings - Fork 68
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
getting bash: _command_offset: command not found - on windows, git bash #44
Comments
+1 |
Hi, To make things clearer than in the README, run these commands to download scripts curl https://raw.githubusercontent.com/scop/bash-completion/2.11/bash_completion -o ~/.bash_completion
curl https://raw.githubusercontent.com/cykerway/complete-alias/master/complete_alias -o ~/.complete_alias Then, add these lines to your . $HOME/.bash_completion
. $HOME/.complete_alias followed by your own aliases ( |
hi guys,
i can't seem to get this working on windows, have tried to follow instructions in the readme and especially the FAQ section about windows but finding it pretty confusing.
I've got both files bash_completion.sh and complete_alias.sh in the .bash_completion.d directory, and i'm sourcing them in the specified order in my bash_profile file for git bash:
source ~/.bash_completion.d/bash_completion.sh
source ~/.bash_completion.d/complete_alias.sh
I've also added this to the end of my bash profile, as well as trying to specify the aliases by name:
complete -F _complete_alias "${!BASH_ALIASES[@]}"
Not super clear on what i should be editing or adding to the two repo .sh files above, i tried a few things from the readme adding to both files but nothing seemed to work.
Any help much appreciated
The text was updated successfully, but these errors were encountered: