[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] master 0441318: Work around a redhat problem
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] master 0441318: Work around a redhat problem |
Date: |
Fri, 7 Feb 2020 08:28:51 -0500 (EST) |
branch: master
commit 0441318e39250cbd8e571c89d4adba33cf91a0ae
Author: Gregory W. Chicares <address@hidden>
Commit: Gregory W. Chicares <address@hidden>
Work around a redhat problem
---
gwc/.zshrc | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/gwc/.zshrc b/gwc/.zshrc
index 3226b04..48bd23a 100644
--- a/gwc/.zshrc
+++ b/gwc/.zshrc
@@ -81,6 +81,11 @@ bindkey '^F' history-incremental-search-forward # emacs
Ctrl-S
bindkey '^G' send-break # emacs Ctrl-G
bindkey '\eq' push-line # emacs Esc-Q
+# Set this preemptively, even though it's reset almost immediately.
+# Otherwise, a redhat server initially shows an unwanted bash prompt
+# when zsh is started.
+prompt='%d[%?]%(!.#.$)'
+
function zle-line-init zle-keymap-select {
local local_prompt='%d[%?]%(!.#.$)'
if [[ ${KEYMAP} == vicmd ]]; then
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [lmi-commits] [lmi] master 0441318: Work around a redhat problem,
Greg Chicares <=