1
0
Fork 0

removed wine function, never used it anyway

This commit is contained in:
Von Random 2014-08-31 23:33:40 +04:00
parent 06a9c3b02d
commit 845d3c1144

9
zshrc
View file

@ -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"