diff options
author | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-24 12:23:59 +0530 |
---|---|---|
committer | Arun Prakash Jana <engineerarun@gmail.com> | 2019-01-24 12:23:59 +0530 |
commit | e039b0ee354b5f76f71d5ba6f918130bc91d8fe2 (patch) | |
tree | af33f33660c3538051e6a0d0155798b9642c869c /src/nnn.c | |
parent | 94e4201dc1f6973c4a03e60134c42c762d263baa (diff) | |
download | nnn-e039b0ee354b5f76f71d5ba6f918130bc91d8fe2.tar.gz |
Fix build break; rl_menu_complete missing on macOS
Diffstat (limited to 'src/nnn.c')
-rw-r--r-- | src/nnn.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -4031,7 +4031,11 @@ int main(int argc, char *argv[]) /* Bind TAB to cycling */ rl_variable_bind("completion-ignore-case", "on"); +#ifdef __linux__ rl_bind_key('\t', rl_menu_complete); +#else + rl_bind_key('\t', rl_complete); +#endif read_history(NULL); #ifdef DEBUGMODE |