mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 22:38:16 +00:00
Test and refactor gettail -> path_tail.
This commit is contained in:

committed by
Thiago de Arruda

parent
6d712defa5
commit
77bfb6cd99
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user