summary refs log tree commit diff
path: root/Test/A02alias.ztst
blob: 61cc04bdf8def1c10cbac57acbf043203650a287 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
%prep
  alias foo=echo

  alias -g bar=echo

  alias '\bar=echo'

%test
  foo foo
0:Basic aliasing
>foo

  bar bar
0:Global aliasing
>echo

  \foo foo
127:Not aliasing
?(eval):1: command not found: foo

  \bar \bar
0:Aliasing with a backslash
>bar