aboutsummaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-12-19 13:18:16 +1300
committerTom Ryder <tom@sanctum.geek.nz>2016-12-19 13:18:16 +1300
commit7e40448c18bba4317837264ca1eb283783205386 (patch)
tree7c20204f4927f1659cfae3d588b2043fd9338936 /zsh
parentd8c336c02edeed19590b75772dd66e81d684bbe5 (diff)
downloaddotfiles-7e40448c18bba4317837264ca1eb283783205386.tar.gz
Request version with "ver" shortcut not prompt
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}"
+}