From 611f7ab4ce349ad84705e016fa3a1c98691176a1 Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Fri, 22 Apr 2022 11:35:56 +0900 Subject: [PATCH] SH : hostname automation --- .zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index bfc7611..67952dc 100644 --- a/.zshrc +++ b/.zshrc @@ -31,7 +31,8 @@ alias ytv-best="youtube-dl -f bestvideo+bestaudio " #alias fix-gpg-retrieve="gpg2 --keyserver-options auto-key-retrieve --receive-keys" #alias fix-key="[ -d ~/.gnupg ] || mkdir ~/.gnupg ; cp /etc/pacman.d/gnupg/gpg.conf ~/.gnupg/ ; echo 'done'" -figlet -w 100 "JaeUs-Device" +hostname=$(cat /etc/hostname) +figlet -w 100 "$hostname" cat ~/.cache/wal/sequences &