summaryrefslogtreecommitdiff
path: root/package/base-files/src
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-07-16 14:24:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-07-16 14:24:02 +0200
commit932272554e1fdd5ef1b15e55b30786595b5d212e (patch)
treeea47e886611f5fe4d1bbda2b99cc104d9fcb94e3 /package/base-files/src
parent71582bdd2080c6d7fb446d4cea10c93cf781419d (diff)
use manual config for base-files, fix fancy prompt
Diffstat (limited to 'package/base-files/src')
-rw-r--r--package/base-files/src/etc/profile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/src/etc/profile b/package/base-files/src/etc/profile
index 0d8a4f240..78cf2fe37 100644
--- a/package/base-files/src/etc/profile
+++ b/package/base-files/src/etc/profile
@@ -1,9 +1,9 @@
export PATH=/bin:/sbin:/usr/bin:/usr/sbin
export TERM=vt220
if [[ $(id -u) = 0 ]]; then
- export PS1='\u@\h:\w\# '
+ export PS1='`whoami`@`hostname`:`pwd` # '
else
- export PS1='\u@\h:\w\$ '
+ export PS1='`whoami`@`hostname`:`pwd` $ '
fi
cat /etc/banner 2>&-
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi