diff options
author | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-12-20 05:30:28 +0000 |
---|---|---|
committer | Daniel Shahaf <d.s@daniel.shahaf.name> | 2017-12-20 05:43:42 +0000 |
commit | 4b55c0f40c21a6e57fc8e71515c3f39df6a30f67 (patch) | |
tree | 5ca6f5375c1d7147838a3c4a2e17a6b24186723a /Test/A02alias.ztst | |
parent | a254c1815aac155108f8729ed7929e42f6f2c8b0 (diff) | |
download | zsh-4b55c0f40c21a6e57fc8e71515c3f39df6a30f67.tar.gz zsh-4b55c0f40c21a6e57fc8e71515c3f39df6a30f67.tar.xz zsh-4b55c0f40c21a6e57fc8e71515c3f39df6a30f67.zip |
42146: type -w += global aliases
Follow-up to 36403, which did the same for suffix aliases.
Diffstat (limited to 'Test/A02alias.ztst')
-rw-r--r-- | Test/A02alias.ztst | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Test/A02alias.ztst b/Test/A02alias.ztst index e68e93e0d..99f7aae26 100644 --- a/Test/A02alias.ztst +++ b/Test/A02alias.ztst @@ -137,3 +137,14 @@ thisworks) 0:NO_ALIAS_FUNC_DEF works if the alias is a complete definition >That worked + + type \bar + type -w \bar + type \\bar + type -w \\bar +0:type -w of alias -g +>bar is a global alias for echo +>bar: global alias +>\bar is an alias for echo +>\bar: alias + |