completions/git

This commit is contained in:
Marc Beninca 2024-11-17 18:49:04 +01:00
parent 8262f7c5d0
commit 20f4af36d0
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -35,10 +35,14 @@ shell_configure() {
case "${SH}" in case "${SH}" in
"bash") "bash")
# completion # completion
local file="/usr/share/bash-completion/bash_completion" local root="/usr/share/bash-completion"
if [ -f "${file}" ]; then local file path
. "${file}" for file in "bash_completion" "completions/git"; do
fi path="${root}/${file}"
if [ -f "${path}" ]; then
. "${path}"
fi
done
# history # history
HISTCONTROL="ignorespace" HISTCONTROL="ignorespace"
HISTSIZE=-1 HISTSIZE=-1