diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-23 08:28:00 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-06-23 08:28:00 +1200 |
commit | b68feacb05cef1ecc41fe55460a8e1028cedb12a (patch) | |
tree | 5b9f0c4fd61c0b5870d9ceadb139630ca01efa94 /sh/shrc.d | |
parent | Clean up drakon(6df) a bit (diff) | |
download | dotfiles-b68feacb05cef1ecc41fe55460a8e1028cedb12a.tar.gz dotfiles-b68feacb05cef1ecc41fe55460a8e1028cedb12a.zip |
Add ed() options file check
Diffstat (limited to 'sh/shrc.d')
-rw-r--r-- | sh/shrc.d/ed.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sh/shrc.d/ed.sh b/sh/shrc.d/ed.sh index a2b7818e..e6b6eee8 100644 --- a/sh/shrc.d/ed.sh +++ b/sh/shrc.d/ed.sh @@ -1,3 +1,7 @@ +# Our ~/.profile should already have made a directory with the supported +# options for us; if not, we won't be wrapping ed(1) with a function at all +[ -d "$HOME"/.cache/sh/opt/ed ] || return + # Define function proper ed() { |