diff contrib/bash_completion @ 39398:8ab79580047f

bash_completion: add more global options that receive an argument
author Anton Shestakov <av6@dwimlabs.net>
date Sun, 02 Sep 2018 08:39:17 +0800
parents 2c47986505ff
children c54d4607e8aa
line wrap: on
line diff
--- a/contrib/bash_completion	Sat Sep 01 11:33:17 2018 -0400
+++ b/contrib/bash_completion	Sun Sep 02 08:39:17 2018 +0800
@@ -152,7 +152,7 @@
 {
     local cur prev cmd cmd_index opts i aliashg
     # global options that receive an argument
-    local global_args='--cwd|-R|--repository'
+    local global_args='--cwd|-R|--repository|--color|--config|--encoding|--encodingmode|--pager'
     local hg="$1"
     local canonical=0