summaryrefslogtreecommitdiff
path: root/.bash_prompt
diff options
context:
space:
mode:
authorKévin Le Gouguec <kevin.legouguec@gmail.com>2017-10-30 09:10:33 +0100
committerKévin Le Gouguec <kevin.legouguec@gmail.com>2017-10-30 09:10:33 +0100
commitf47500d0d2100170d580ebb7d1804b9eedce452c (patch)
treeb0190c0806a9cdd50f887e1edacf9e231f8e9e68 /.bash_prompt
parent00043b753e4f6f5b759236a82d373b3dad0d1e1c (diff)
downloaddotfiles-f47500d0d2100170d580ebb7d1804b9eedce452c.tar.xz
Shorten prompt for M-x shell
Diffstat (limited to '.bash_prompt')
-rw-r--r--.bash_prompt1
1 files changed, 1 insertions, 0 deletions
diff --git a/.bash_prompt b/.bash_prompt
index 29ccfc5..1ee9ed8 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -8,6 +8,7 @@
if [ "${TERM}" = dumb ]
then
+ PS1='$? \u:\w\$ '
return
fi