summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2009-03-02 10:05:34 +0100
committerDaniel Friesel <derf@derf.homelinux.org>2009-03-02 10:05:34 +0100
commit791a2710599e4faa464f4a5ccefe413b65bcf900 (patch)
tree71df317da205bf725cebb2fa33df8dd041c0a6f9 /etc
parenta73d678b08d26a2755759c74c594238d111cd8b1 (diff)
zprofile: Show base system version on gentoo
Diffstat (limited to 'etc')
-rw-r--r--etc/profile2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/profile b/etc/profile
index 44ec38a..38e7e55 100644
--- a/etc/profile
+++ b/etc/profile
@@ -7,7 +7,7 @@ function pr_info {
echo
pr_info "This is ${info}$(uname -srm)${reset} on ${info}%y${reset}"
-[[ -r /etc/gentoo-release ]] && pr_info "Running ${info}Gentoo${reset}"
+[[ -r /etc/gentoo-release ]] && pr_info "Running ${info}Gentoo${reset} ${$(cat /etc/gentoo-release)#(#i)gentoo}"
[[ -r /etc/debian_version ]] && pr_info "Running ${info}Debian${reset} $(cat /etc/debian_version)"
echo