1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-11-25 15:20:08 +00:00

sublime: fix typo in cygwin path logic (#7304)

Bug introduced in cea941ce42
This commit is contained in:
mhennecke 2018-10-17 21:28:48 +02:00 committed by Marc Cornellà
parent a2dab42c35
commit 5460333363

View file

@ -42,8 +42,8 @@ elif [[ "$OSTYPE" = darwin* ]]; then
fi fi
done done
elif [[ "$OSTYPE" = 'cygwin' ]]; then elif [[ "$OSTYPE" = 'cygwin' ]]; then
local sublime_cygwin_paths local _sublime_cygwin_paths
sublime_cygwin_paths=( _sublime_cygwin_paths=(
"$(cygpath $ProgramW6432/Sublime\ Text\ 2)/sublime_text.exe" "$(cygpath $ProgramW6432/Sublime\ Text\ 2)/sublime_text.exe"
"$(cygpath $ProgramW6432/Sublime\ Text\ 3)/sublime_text.exe" "$(cygpath $ProgramW6432/Sublime\ Text\ 3)/sublime_text.exe"
) )