diff options
Diffstat (limited to 'etc/.zprofile')
-rw-r--r-- | etc/.zprofile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/etc/.zprofile b/etc/.zprofile index c311330..a169083 100644 --- a/etc/.zprofile +++ b/etc/.zprofile @@ -6,10 +6,15 @@ function pr_info { echo pr_info "This is %F{cyan}$(uname -srm)%F{default} on %F{cyan}%y%F{default}" -[[ -r /etc/gentoo-release ]] && pr_info "Running %F{cyan}Gentoo%F{default} ${$(cat /etc/gentoo-release)#(#i)gentoo }" -[[ -r /etc/debian_version ]] && pr_info "Running %F{cyan}Debian%F{default} $(cat /etc/debian_version)" -[[ -r /etc/arch-release ]] && pr_info "Running %F{cyan}Arch%F{default}" -[[ -r /etc/redhat-release ]] && pr_info "Running %F{cyan}Redhat%F{default}" + +[[ -r /etc/gentoo-release ]] && pr_info 'Running %F{cyan}Gentoo%F{default}' \ + ${$(cat /etc/gentoo-release)#(#i)gentoo }" + +[[ -r /etc/debian_version ]] && pr_info 'Running %F{cyan}Debian%F{default}' \ + $(cat /etc/debian_version)" + +[[ -r /etc/arch-release ]] && pr_info 'Running %F{cyan}Arch%F{default}' +[[ -r /etc/redhat-release ]] && pr_info 'Running %F{cyan}Redhat%F{default}' echo |