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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user