diff --git a/configs/zsh/.zshrc b/configs/zsh/.zshrc index dc1bab6..940a6b0 100644 --- a/configs/zsh/.zshrc +++ b/configs/zsh/.zshrc @@ -13,5 +13,8 @@ if [ -f $EWCONFIG_ROOT/configs/zsh/by_host/$HOSTNAME.sh ]; then . $EWCONFIG_ROOT/configs/zsh/by_host/$HOSTNAME.sh fi +# Show some host info +. $EWCONFIG_ROOT/configs/zsh/info.sh + # I always want my ~/bin to be in my PATH export PATH="$HOME/bin:$PATH" diff --git a/configs/zsh/info.sh b/configs/zsh/info.sh new file mode 100644 index 0000000..53076b8 --- /dev/null +++ b/configs/zsh/info.sh @@ -0,0 +1,2 @@ +echo "$fg[$HOST_COLOR]Platform:$reset_color $(uname -o) $(uname -r)" +echo "$fg[$HOST_COLOR]Uptime:$reset_color $(uptime -p)" \ No newline at end of file