removed wine function, never used it anyway
This commit is contained in:
		
							parent
							
								
									06a9c3b02d
								
							
						
					
					
						commit
						845d3c1144
					
				
					 1 changed files with 1 additions and 8 deletions
				
			
		
							
								
								
									
										9
									
								
								zshrc
									
										
									
									
									
								
							
							
						
						
									
										9
									
								
								zshrc
									
										
									
									
									
								
							| 
						 | 
					@ -162,13 +162,6 @@ if [[ $OSTYPE != cygwin ]]; then
 | 
				
			||||||
fi
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ---> alias functions
 | 
					# ---> alias functions
 | 
				
			||||||
function wine {
 | 
					 | 
				
			||||||
	if $(pwd|grep "$HOME/.wine"); then
 | 
					 | 
				
			||||||
		WINEPREFIX="$(pwd|awk -F'/' '{print "/"$2"/"$3"/"$4}')" command wine $@
 | 
					 | 
				
			||||||
	else
 | 
					 | 
				
			||||||
		command wine $@
 | 
					 | 
				
			||||||
	fi
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
# ---> other functions
 | 
					# ---> other functions
 | 
				
			||||||
function screenoffdisable {
 | 
					function screenoffdisable {
 | 
				
			||||||
| 
						 | 
					@ -182,7 +175,7 @@ function screenoffenable {
 | 
				
			||||||
function zshrc {
 | 
					function zshrc {
 | 
				
			||||||
	vim "$HOME/.zshrc"
 | 
						vim "$HOME/.zshrc"
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
autoload wine screenoffdisable screenoffenable
 | 
					autoload screenoffdisable screenoffenable
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# command line syntax highlight from https://github.com/zsh-users/zsh-syntax-highlighting
 | 
					# command line syntax highlight from https://github.com/zsh-users/zsh-syntax-highlighting
 | 
				
			||||||
hl_script="$HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
 | 
					hl_script="$HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh"
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue