summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-09-11 23:21:42 +0200
committerLudovic Courtès <ludo@gnu.org>2014-09-12 00:14:52 +0200
commitc851400bee4f42d9ef582820a1badaa96ba72934 (patch)
treecd44bf727434de9300a26d8dd5d8ee1bae28bd24
parentee248b6a7043f308eaaa2b1deb708b52d4923659 (diff)
downloadpatches-c851400bee4f42d9ef582820a1badaa96ba72934.tar
patches-c851400bee4f42d9ef582820a1badaa96ba72934.tar.gz
system: Add '\w' to the default PS1.
* gnu/system.scm (etc-directory)[bashrc]: Add '\w' to PS1.
-rw-r--r--gnu/system.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/system.scm b/gnu/system.scm
index abdd80bd6d..8a3f4f6ba8 100644
--- a/gnu/system.scm
+++ b/gnu/system.scm
@@ -252,7 +252,7 @@ This is the GNU system. Welcome.\n")
;; TODO: Generate bashrc from packages' search-paths.
(bashrc (text-file* "bashrc" "
-export PS1='\\u@\\h\\$ '
+export PS1='\\u@\\h \\w\\$ '
export LC_ALL=\"" locale "\"
export TZ=\"" timezone "\"