Word movement should be very similar to fish 1.x
backward-kill-word remains more liberal, but now stops at any of {,'"=}
This commit is contained in:
ridiculousfish
2012-12-20 17:37:09 -08:00
parent ce15abd577
commit 0b1e371880
7 changed files with 224 additions and 51 deletions

View File

@@ -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)