diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-07-03 06:47:05 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-03 06:47:05 +0000 |
commit | c5145bb5d791114307270fa6dfdcd7a7adf9c051 (patch) | |
tree | a269ce9da59c14c38f52835a2aec939be00d66c5 /etc | |
parent | drop unused BASE_DIRS logic (diff) | |
download | baselayout-c5145bb5d791114307270fa6dfdcd7a7adf9c051.tar.gz baselayout-c5145bb5d791114307270fa6dfdcd7a7adf9c051.tar.bz2 baselayout-c5145bb5d791114307270fa6dfdcd7a7adf9c051.zip |
profile: drop unnecessary `type` checking
svn path=/trunk/; revision=3196
Diffstat (limited to 'etc')
-rw-r--r-- | etc/profile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/profile b/etc/profile index 3565bab1..2dee4639 100644 --- a/etc/profile +++ b/etc/profile @@ -54,7 +54,7 @@ else # Setup a bland default prompt. Since this prompt should be useable # on color and non-color terminals, as well as shells that don't # understand sequences such as \h, don't put anything special in it. - PS1="${USER:-$(type whoami >/dev/null && whoami)}@$(type uname >/dev/null && uname -n) \$ " + PS1="${USER:-$(whoami 2>/dev/null)}@$(uname -n 2>/dev/null) \$ " fi for sh in /etc/profile.d/*.sh ; do |