summaryrefslogtreecommitdiffstats
path: root/tips
diff options
context:
space:
mode:
authorGitSetup Upstream <kwrobot@kitware.com>2017-10-26 15:31:16 (GMT)
committerBrad King <brad.king@kitware.com>2017-11-30 19:55:33 (GMT)
commitf223a7caf494949c241133b7a7a1408738d6b376 (patch)
treedc81b5a96495b6f87149926ded1b62321b15c002 /tips
parent7e5ef9ca78f67c2f4def64408ce4c7ecc03917a7 (diff)
downloadCMake-f223a7caf494949c241133b7a7a1408738d6b376.zip
CMake-f223a7caf494949c241133b7a7a1408738d6b376.tar.gz
CMake-f223a7caf494949c241133b7a7a1408738d6b376.tar.bz2
GitSetup 2017-10-26 (1639317d)
Code extracted from: https://gitlab.kitware.com/utils/gitsetup.git at commit 1639317d0774f7729118138e978ca6eec9cf984e (setup).
Diffstat (limited to 'tips')
-rwxr-xr-xtips4
1 files changed, 2 insertions, 2 deletions
diff --git a/tips b/tips
index 784e1ed..f47d84c 100755
--- a/tips
+++ b/tips
@@ -19,7 +19,7 @@
# Project configuration instructions: NONE
-egrep-q() {
+egrep_q() {
egrep "$@" >/dev/null 2>/dev/null
}
@@ -33,7 +33,7 @@ One may enable color output from Git commands with
fi
# Suggest bash completion.
-if ! bash -i -c 'echo $PS1' | egrep-q '__git_ps1'; then
+if ! bash -i -c 'echo $PS1' | egrep_q '__git_ps1'; then
echo '
A dynamic, informative Git shell prompt can be obtained by sourcing
the git bash-completion script in your "~/.bashrc". Set the PS1