git://git.iain.cx/iain
/
profile.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Correctly use of nnoremap.
[profile.git]
/
.profile.d
/
prompt.bashrc
diff --git
a/.profile.d/prompt.bashrc
b/.profile.d/prompt.bashrc
index
2145c22
..
da94e97
100644
(file)
--- a/
.profile.d/prompt.bashrc
+++ b/
.profile.d/prompt.bashrc
@@
-30,7
+30,7
@@
if ps -o comm= -p $PPID 2>/dev/null | grep '^vim*$' &>/dev/null; then
trap "echo -ne '\\033]0;$info\\033\\0134'" exit
info="$info$vimchild"
fi
trap "echo -ne '\\033]0;$info\\033\\0134'" exit
info="$info$vimchild"
fi
-if [ "${TERM##screen}" = "$TERM" ]; then
+if [ "${TERM##screen}" = "$TERM"
-o "${TERM%%-bce}" = "$TERM"
]; then
PROMPT_COMMAND="echo -ne '\033]0;$info\033\0134\r\033[K'"
else
PROMPT_COMMAND='echo -ne "\033k\033\0134"'
PROMPT_COMMAND="echo -ne '\033]0;$info\033\0134\r\033[K'"
else
PROMPT_COMMAND='echo -ne "\033k\033\0134"'