mirror of
				https://github.com/shokinn/.files.git
				synced 2025-11-03 20:18:10 +00:00 
			
		
		
		
	Add default z zoxide functions
This commit is contained in:
		
							parent
							
								
									8c0226d771
								
							
						
					
					
						commit
						ef285f1105
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -139,6 +139,15 @@ EOF
 | 
			
		|||
    fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
# zoxide z functions, since my default zoxide init will overwrite the cd command
 | 
			
		||||
z () {
 | 
			
		||||
	__zoxide_z "$@"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
zi () {
 | 
			
		||||
	__zoxide_zi "$@"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
{%@@ if distro == 'macos' @@%}
 | 
			
		||||
#######################################
 | 
			
		||||
# Shows a netstat -tulpn styled output on mac.
 | 
			
		||||
| 
						 | 
				
			
			@ -432,4 +441,4 @@ setVpnGitRemote() {
 | 
			
		|||
 | 
			
		||||
  echo -e "🔗 git remote (${HIGHLIGHT}${ORIGIN}${RESET}): ${HIGHLIGHT}${repo}${RESET}\n"
 | 
			
		||||
}
 | 
			
		||||
{%@@ endif @@%}
 | 
			
		||||
{%@@ endif @@%}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue