From 29c6b249971b2cca4062b1b9873f13543dc5fbad Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Sat, 14 Sep 2013 19:21:37 +1200 Subject: Print Bash version on login shells --- bash/bash_profile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bash/bash_profile') diff --git a/bash/bash_profile b/bash/bash_profile index e23ec458..526e7f3b 100644 --- a/bash/bash_profile +++ b/bash/bash_profile @@ -13,3 +13,6 @@ if [[ -r $HOME/.bashrc ]]; then source "$HOME"/.bashrc fi +# Print Bash version +printf 'bash: %s\n' "$BASH_VERSION" + -- cgit v1.2.3