Skip to content

Commit

Permalink
Improves bash completion, especially in commit command, adds a couple…
Browse files Browse the repository at this point in the history
… colours
  • Loading branch information
Chris Corwin committed Feb 26, 2016
1 parent c1a9481 commit 00c191e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _gsinit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ source "${gitscripts_cfg_path}colors.cfg"

# load user overrides.
if [ -f "${gitscripts_cfg_path}user.overrides" ]; then
echo "gitscripts_cfg_path: ${gitscripts_cfg_path}"
# echo "gitscripts_cfg_path: ${gitscripts_cfg_path}"
echo "Will source: ${gitscripts_cfg_path}user.overrides"
source "${gitscripts_cfg_path}user.overrides"
fi
Expand Down
3 changes: 2 additions & 1 deletion cfg/completion.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2731,6 +2731,7 @@ _gitk ()
}
__git_complete git __git_main
__git_complete checkout _git_checkout
__git_complete gitk __gitk_main
# The following are necessary only for Cygwin, and only are needed
Expand All @@ -2739,4 +2740,4 @@ __git_complete gitk __gitk_main
#
if [ Cygwin = "$(uname -o 2>/dev/null)" ]; then
__git_complete git.exe __git_main
fi
fi

0 comments on commit 00c191e

Please sign in to comment.