aboutsummaryrefslogtreecommitdiff
path: root/yash
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-05-24 13:32:52 +1200
committerTom Ryder <tom@sanctum.geek.nz>2017-05-24 13:32:52 +1200
commit5a659f01a45e4c2cd1dafbc910c823415798dcea (patch)
tree81bc86a2be87f61ad3c0f7510e00864997dde731 /yash
parentUpdate submodules (diff)
downloaddotfiles-5a659f01a45e4c2cd1dafbc910c823415798dcea.tar.gz
dotfiles-5a659f01a45e4c2cd1dafbc910c823415798dcea.zip
Remove Yash support
I never use it
Diffstat (limited to 'yash')
-rw-r--r--yash/yash_profile2
-rw-r--r--yash/yashrc14
-rw-r--r--yash/yashrc.d/ver.yash4
3 files changed, 0 insertions, 20 deletions
diff --git a/yash/yash_profile b/yash/yash_profile
deleted file mode 100644
index d37f35a1..00000000
--- a/yash/yash_profile
+++ /dev/null
@@ -1,2 +0,0 @@
-# Load ~/.profile, because Yash won't by itself, no matter how you invoke it
-[ -e "$HOME"/.profile ] && . "$HOME"/.profile
diff --git a/yash/yashrc b/yash/yashrc
deleted file mode 100644
index c2b2df26..00000000
--- a/yash/yashrc
+++ /dev/null
@@ -1,14 +0,0 @@
-# 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"
-
-# Load Bash-specific startup files
-for sh in "$HOME"/.yashrc.d/*.yash ; do
- [ -e "$sh" ] && . "$sh"
-done
-unset -v sh
diff --git a/yash/yashrc.d/ver.yash b/yash/yashrc.d/ver.yash
deleted file mode 100644
index 8bd06e4d..00000000
--- a/yash/yashrc.d/ver.yash
+++ /dev/null
@@ -1,4 +0,0 @@
-# Shortcut to show current shell version
-ver() {
- printf '%s\n' "${YASH_VERSION:-unknown}"
-}