diff options
author | Thomas Wienecke <wienecke.t@gmail.com> | 2014-03-30 13:42:03 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-03 10:32:41 -0300 |
commit | 77bfb6cd990c67e4191d4858af82de42303e1939 (patch) | |
tree | d7c6fbf45cbe581fbf4e3edabf506d8fcf153037 /src/os_unix.c | |
parent | 6d712defa52e58627aca5c875677d14d705300e8 (diff) | |
download | rneovim-77bfb6cd990c67e4191d4858af82de42303e1939.tar.gz rneovim-77bfb6cd990c67e4191d4858af82de42303e1939.tar.bz2 rneovim-77bfb6cd990c67e4191d4858af82de42303e1939.zip |
Test and refactor gettail -> path_tail.
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index 69c913e306..c29d1801f7 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -1943,7 +1943,7 @@ int flags; /* EW_* flags */ else if (STRCMP(p_sh + len - 3, "zsh") == 0) shell_style = STYLE_PRINT; } - if (shell_style == STYLE_ECHO && strstr((char *)gettail(p_sh), + if (shell_style == STYLE_ECHO && strstr((char *)path_tail(p_sh), "sh") != NULL) shell_style = STYLE_VIMGLOB; |