diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-05 01:27:50 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2010-05-05 01:27:50 +0200 |
commit | 8aef40d91b2b70ad7306b9f6c877fc724d050d46 (patch) | |
tree | b90aa649cbfd965d149e7e65b3981cc814daeae8 /etc/.zprofile | |
parent | ae158eba7115e878cc05c817efce603748360d43 (diff) |
zomg linebreaks
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 |