Sort some aliases
This commit is contained in:
		
							parent
							
								
									51357f7e47
								
							
						
					
					
						commit
						ed286f1d0a
					
				
					 3 changed files with 17 additions and 18 deletions
				
			
		
							
								
								
									
										14
									
								
								aliases/void
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								aliases/void
									
										
									
									
									
								
							|  | @ -1,20 +1,11 @@ | |||
| #!/bin/zsh | ||||
| 
 | ||||
| hashafter () { | ||||
| 	local fname=$1 | ||||
| 	eval " | ||||
| 	function $fname() { | ||||
| 		command $fname \"\$@\" | ||||
| 		hash -r | ||||
| 	} | ||||
| 	" | ||||
| } | ||||
| grep -q "void" /etc/os-release || return | ||||
| 
 | ||||
| hashafter xi | ||||
| hashafter xbps-install | ||||
| hashafter xbps-remove | ||||
| 
 | ||||
| grep -q "void" /etc/os-release || return | ||||
| 
 | ||||
| alias xq="xbps-query -Rs" | ||||
| xqn() { | ||||
|  | @ -72,3 +63,6 @@ sv-manage() { | |||
| 			;; | ||||
| 	esac | ||||
| } | ||||
| 
 | ||||
| # renamed package binaries | ||||
| alias ts=moreutils_ts | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 crater2150
						crater2150