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
|
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
|
||||||
|
|
Loading…
Reference in a new issue