completions/git
This commit is contained in:
parent
8262f7c5d0
commit
20f4af36d0
1 changed files with 8 additions and 4 deletions
|
@ -35,10 +35,14 @@ shell_configure() {
|
|||
case "${SH}" in
|
||||
"bash")
|
||||
# completion
|
||||
local file="/usr/share/bash-completion/bash_completion"
|
||||
if [ -f "${file}" ]; then
|
||||
. "${file}"
|
||||
local root="/usr/share/bash-completion"
|
||||
local file path
|
||||
for file in "bash_completion" "completions/git"; do
|
||||
path="${root}/${file}"
|
||||
if [ -f "${path}" ]; then
|
||||
. "${path}"
|
||||
fi
|
||||
done
|
||||
# history
|
||||
HISTCONTROL="ignorespace"
|
||||
HISTSIZE=-1
|
||||
|
|
Loading…
Reference in a new issue