chiark
/
gitweb
/
~ian
/
ian-dotfiles.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
0b54862
)
dot/bashrc: Do not set setprompt if autotitle is not on path
author
Ian Jackson
<ian.jackson@eu.citrix.com>
Fri, 10 Jun 2016 16:45:12 +0000
(17:45 +0100)
committer
Ian Jackson
<Ian.Jackson@eu.citrix.com>
Fri, 10 Jun 2016 17:04:23 +0000
(18:04 +0100)
dot/bashrc
patch
|
blob
|
history
diff --git
a/dot/bashrc
b/dot/bashrc
index ab1b5d354abbc69e54b50d6beb8ae036e535423e..19d644b1f3eea8f8dc01602320410ed2a52297d6 100644
(file)
--- a/
dot/bashrc
+++ b/
dot/bashrc
@@
-12,7
+12,7
@@
export PWD
ls() { /bin/ls -FC "$@"; }
ll() { /bin/ls -FCla "$@"; }
-if [ "x$SCHROOT_SESSION_ID" = x ]; then
+if
autotitle >/dev/null 2>&1 &&
[ "x$SCHROOT_SESSION_ID" = x ]; then
setprompt() { PS1=`autotitle`; export PS1; }
else
setprompt() { :; }