From 4834741d75ce0d806b61273ffc6695b5adc4c075 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Tue, 27 Sep 2022 10:35:38 -0400 Subject: [PATCH] launch info --- configs/zsh/.zshrc | 3 +++ configs/zsh/info.sh | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 configs/zsh/info.sh 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