diff options
author | 2020-02-22 21:20:20 +0530 | |
---|---|---|
committer | 2020-02-22 21:25:05 +0530 | |
commit | dd5b419742b94ff68c10c7c3c1836968daf3b175 (patch) | |
tree | 609922d82690a15a5b97da1a1a2d652176e26e2b /src | |
parent | 04ab3751af837b74ff73c989cff3eca8f2fd69c5 (diff) | |
download | nnn-dd5b419742b94ff68c10c7c3c1836968daf3b175.tar.gz |
Treat ~ as special shortcut in filterentries
Diffstat (limited to 'src')
-rw-r--r-- | src/nnn.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2499,9 +2499,10 @@ static int filterentries(char *path, char *lastname) if (len == 1) { switch (*ch) { case '=': // fallthrough /* Launch app */ - case ']': // fallthorugh /*Prompt key */ + case ']': // fallthorugh /* Prompt key */ case ';': // fallthrough /* Run plugin key */ case ',': // fallthrough /* Pin CWD */ + case '~': // fallthrough /* Go HOME */ case '?': /* Help and config key, '?' is an invalid regex */ goto end; } |