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

Not working on windows 11 #106

Open
andrejb-dev opened this issue Feb 13, 2024 · 0 comments
Open

Not working on windows 11 #106

andrejb-dev opened this issue Feb 13, 2024 · 0 comments

Comments

@andrejb-dev
Copy link

andrejb-dev commented Feb 13, 2024

I put the path in
C:\Users\name\maven_bash_autocomplete\bash_completion.bash

and updated
C:\Users\name\.bashrc

to

eval "$(oh-my-posh init bash --config ~/oh-my-posh-themes/amro.omp.json)"

# Bash aliases
alias .='explorer .'
alias ..='cd ..'
alias ....='cd ../../'
alias ......='cd ../../../'
alias ........='cd ../../../../'
alias ls='ls -lah --color --group-directories-first'

alias komis-be='cd c:/Dev/komis/cvti-gitlab/komis-skcris-netgrif-be/'
alias komis-fe='cd c:/Dev/komis/cvti-gitlab/komis-skcris-netgrif-fe/'
alias sawo='cd c:/Dev/SAWO/'
alias iwcp='cd c:/Dev/iwaycloud/service-broker/'

# Bash shell settings
# Typing a directory name just by itself will automatically change into that directory.
shopt -s autocd

# Automatically fix directory name typos when changing directory.
shopt -s cdspell

# Automatically expand directory globs and fix directory name typos whilst completing. 
# Note, this works in conjuction with the cdspell option listed above.
shopt -s direxpand dirspell

# Ignore lines which begin with a <space> and match previous entries.
# Erase duplicate entries in history file.
HISTCONTROL=ignoreboth:erasedups

# kubectl autocomplete
source <(kubectl completion bash)
alias k=kubectl
#complete -F __start_kubectl k

. ~/maven_bash_autocomplete/bash_completion.bash

What it does is it opens explorer right after I start Gitbash session in Windows terminal. So it seems that it gets loaded up, but something is not working.

On mvn cl[tab] it fills in mvn clr

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

No branches or pull requests

1 participant