diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-12-20 17:37:09 -0800 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-12-20 17:37:09 -0800 |
commit | 0b1e3718801769e6bd14d55877806f60589cbb42 (patch) | |
tree | e3fc4561d4ea7dfdb520780cc6656c79b848505b /parser.cpp | |
parent | ce15abd577248ced70536d7091b8838b3b765f56 (diff) |
Changes to work recognition per https://github.com/fish-shell/fish-shell/issues/384
Word movement should be very similar to fish 1.x
backward-kill-word remains more liberal, but now stops at any of {,'"=}
Diffstat (limited to 'parser.cpp')
-rw-r--r-- | parser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1237,7 +1237,7 @@ int parser_t::is_help(const wchar_t *s, int min_match) const min_match = maxi(min_match, 3); return (wcscmp(L"-h", s) == 0) || - (len >= min_match && (wcsncmp(L"--help", s, len) == 0)); + (len >= (size_t)min_match && (wcsncmp(L"--help", s, len) == 0)); } job_t *parser_t::job_create(void) |