diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-19 14:49:52 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-12-19 14:49:52 +1300 |
commit | e1cf0e5fd0aea07dde7e37167ad327f92b02a37f (patch) | |
tree | 8cb68cdc79d7a8add83b9d3040d6a415b5d689e4 /yash/yashrc.d | |
parent | Fix extension of zsh subfile (diff) | |
download | dotfiles-e1cf0e5fd0aea07dde7e37167ad327f92b02a37f.tar.gz dotfiles-e1cf0e5fd0aea07dde7e37167ad327f92b02a37f.zip |
Add yashrc.d and ver() func
Diffstat (limited to 'yash/yashrc.d')
-rw-r--r-- | yash/yashrc.d/ver.yash | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/yash/yashrc.d/ver.yash b/yash/yashrc.d/ver.yash new file mode 100644 index 00000000..8bd06e4d --- /dev/null +++ b/yash/yashrc.d/ver.yash @@ -0,0 +1,4 @@ +# Shortcut to show current shell version +ver() { + printf '%s\n' "${YASH_VERSION:-unknown}" +} |