diff options
author | Grissiom <chaos.proton@gmail.com> | 2010-09-18 10:18:26 +0800 |
---|---|---|
committer | Grissiom <chaos.proton@gmail.com> | 2010-09-18 10:18:26 +0800 |
commit | 70322077d21ae38bbe503d88e9e4d73ec883a493 (patch) | |
tree | d64024c9dde752818a35f865f910e413d8935579 /share/functions/__fish_complete_man.fish | |
parent | f529b2e05725cba0bf9da3ee0feb0b7e3ef2fa5a (diff) |
remove trialing spaces #2
Diffstat (limited to 'share/functions/__fish_complete_man.fish')
-rw-r--r-- | share/functions/__fish_complete_man.fish | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/functions/__fish_complete_man.fish b/share/functions/__fish_complete_man.fish index dad6ed0d..7be041f0 100644 --- a/share/functions/__fish_complete_man.fish +++ b/share/functions/__fish_complete_man.fish @@ -1,5 +1,5 @@ -function __fish_complete_man +function __fish_complete_man if test (commandline -ct) # Try to guess what section to search in. If we don't know, we @@ -11,13 +11,13 @@ function __fish_complete_man while count $prev switch $prev[1] case '-**' - + case '*' set section $prev[1] end set -e prev[1] end - + set section $section"[^)]*" # Do the actual search |