Add shell version to MOTD
This commit is contained in:
parent
ae7936f490
commit
2c42757078
1 changed files with 7 additions and 0 deletions
|
@ -345,6 +345,13 @@ usermotd () {
|
||||||
then
|
then
|
||||||
timedatectl show --property=Timezone | sed 's/Timezone=/TZ=/'
|
timedatectl show --property=Timezone | sed 's/Timezone=/TZ=/'
|
||||||
fi
|
fi
|
||||||
|
if [ -n "$BASH_VERSION" ]
|
||||||
|
then
|
||||||
|
echo "bash $BASH_VERSION"
|
||||||
|
elif [ -n "$ZSH_VERSION" ]
|
||||||
|
then
|
||||||
|
echo "zsh $ZSH_VERSION"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
simpletls () {
|
simpletls () {
|
||||||
|
|
Loading…
Reference in a new issue