Skip to content

Not working on windows 11 #106

@andrejb-dev

Description

@andrejb-dev

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions