1
0
mirror of https://github.com/chubin/cheat.sh.git synced 2026-06-20 13:16:44 +02:00

Merge pull request #94 from grayed/master

Fix ksh93 hack that breaks dash.
This commit is contained in:
Igor Chubin
2018-08-10 22:37:04 +02:00
committed by GitHub
+1 -1
View File
@@ -35,7 +35,7 @@ case "$OSTYPE" in
esac
# for KSH93
if ! local foo 2>/dev/null; then
if echo $KSH_VERSION | grep -q ' 93' && ! local foo 2>/dev/null; then
alias local=typeset
fi