aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/zshrc.d/ver.bash4
1 files changed, 4 insertions, 0 deletions
diff --git a/zsh/zshrc.d/ver.bash b/zsh/zshrc.d/ver.bash
new file mode 100644
index 00000000..c307e6ed
--- /dev/null
+++ b/zsh/zshrc.d/ver.bash
@@ -0,0 +1,4 @@
+# Shortcut to show current shell version
+ver() {
+ printf '%s\n' "${ZSH_VERSION:-unknown}"
+}