Is there a way to export aliases in macOS in the Korn Shell (ksh)?
1
vote
2
answers
388
views
Earlier versions of the Korn shell (
ksh
) allowed aliases to be exported to subshells by using the -x
option, for example:
alias -x dog=cat
With the current version of macOS the ksh
man page says:
"The obsolete -x option has no effect."
Is there an alternate way to export aliases in macOS in ksh
without putting them in .kshrc
?
Asked by KS_on_StackExchange
(131 rep)
Nov 7, 2021, 12:44 AM
Last activity: Apr 7, 2022, 09:33 PM
Last activity: Apr 7, 2022, 09:33 PM