aboutsummaryrefslogtreecommitdiff
path: root/yash
diff options
context:
space:
mode:
Diffstat (limited to 'yash')
-rw-r--r--yash/yashrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/yash/yashrc b/yash/yashrc
index a731c80b..c2b2df26 100644
--- a/yash/yashrc
+++ b/yash/yashrc
@@ -1,3 +1,8 @@
+# Clear away all aliases; we do this here rather than in $ENV because the ksh
+# family of shells relies on aliases to implement certain POSIX utilities like
+# fc(1) and type(1)
+unalias -a
+
# Load POSIX interactive shell startup files, because Yash won't do it if not
# invoked as sh(1)
[ -e "$ENV" ] && . "$ENV"