mirror of
				git://git.code.sf.net/p/zsh/code
				synced 2025-11-03 19:11:34 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			23 lines
		
	
	
	
		
			254 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
	
		
			254 B
		
	
	
	
		
			Text
		
	
	
	
	
	
%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
 | 
						|
1:Not aliasing
 | 
						|
?ZTST_execchunk:2: command not found: foo
 | 
						|
 | 
						|
  \bar \bar
 | 
						|
0:Aliasing with a backslash
 | 
						|
>bar
 |