mirror of
https://github.com/rywng/dotfiles.git
synced 2024-11-24 20:01:49 +08:00
add fallback option for os
This commit is contained in:
parent
377024a013
commit
f1124f82ba
2
.zshrc
2
.zshrc
@ -1,6 +1,6 @@
|
|||||||
cat ~/.config/splash 2> /dev/null || true
|
cat ~/.config/splash 2> /dev/null || true
|
||||||
echo
|
echo
|
||||||
echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' < /etc/os-release )
|
echo '\033[0;35m /w '$(awk -F "=" '/^NAME/ {print $2}' 2> /dev/null < /etc/os-release || uname -o)
|
||||||
echo '\033[0;34m @ '$HOST
|
echo '\033[0;34m @ '$HOST
|
||||||
|
|
||||||
#Install zinit if no zinit is present
|
#Install zinit if no zinit is present
|
||||||
|
Loading…
Reference in New Issue
Block a user