From ef37bbb40668e60d4c4fd47f28045eaf2b594dae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Lademann?= Date: Sun, 3 Jun 2018 20:15:45 +0200 Subject: [PATCH] Remove git-bash-complition --- README.md | 6 +----- bashlight | 8 -------- tests/debian/.bashrc | 11 ----------- tests/ubuntu/.bashrc | 11 ----------- 4 files changed, 1 insertion(+), 35 deletions(-) diff --git a/README.md b/README.md index d8a41ba..2da1254 100644 --- a/README.md +++ b/README.md @@ -45,10 +45,6 @@ - Display "+" symbol when current branch is changed but uncommited - Display current git branch name, or short SHA1 hash when the head is detached -**Git completion** - -- [git-bash-completion](https://github.com/markgandolfo/git-bash-completion) is included as subtree to this project. Use git [tab][tab] to list all available commands. - ### Prompt - Platform-dependent prompt symbol for macOS and Linux @@ -195,7 +191,7 @@ You can contact me (@vergissberlin) on GitHub. Use the issue tracker to report b ## Thank you - .. to @riobard, the founder of [bash-powrline](https://github.com/riobard/bash-powerline) which this project is based on. -- .. to @markgandolfo, the founder of [git-bash-completion](https://github.com/markgandolfo/git-bash-completion), which is included as subtree to this project. +- .. to the contributers and testers, who help to further improve the project. - Further thanks to **GitHub** for Atom.io. --- diff --git a/bashlight b/bashlight index 59b3c51..e8967b1 100644 --- a/bashlight +++ b/bashlight @@ -53,11 +53,3 @@ fi # shellcheck source=src/prompt.bash . "${PATH_BASHLIGHT}/src/prompt.bash"; } - -# enable programmable completion features -# shellcheck disable=SC1091 -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - fi -fi diff --git a/tests/debian/.bashrc b/tests/debian/.bashrc index 5cb6b40..4ad9666 100644 --- a/tests/debian/.bashrc +++ b/tests/debian/.bashrc @@ -85,17 +85,6 @@ if [ -f ~/src/aliases ]; then . ~/src/aliases fi -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi -fi - . ~/bashlight/bashlight EDITOR=vim diff --git a/tests/ubuntu/.bashrc b/tests/ubuntu/.bashrc index 5cb6b40..4ad9666 100644 --- a/tests/ubuntu/.bashrc +++ b/tests/ubuntu/.bashrc @@ -85,17 +85,6 @@ if [ -f ~/src/aliases ]; then . ~/src/aliases fi -# enable programmable completion features (you don't need to enable -# this, if it's already enabled in /etc/bash.bashrc and /etc/profile -# sources /etc/bash.bashrc). -if ! shopt -oq posix; then - if [ -f /usr/share/bash-completion/bash_completion ]; then - . /usr/share/bash-completion/bash_completion - elif [ -f /etc/bash_completion ]; then - . /etc/bash_completion - fi -fi - . ~/bashlight/bashlight EDITOR=vim