aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authordoolio <doolio@jupiter>2022-10-24 15:11:01 +0200
committerjixiuf <jixiuf@qq.com>2022-11-17 21:42:19 +0800
commit576408473b655491cfc85b1124456504d35d73a3 (patch)
tree21247f3c07878feacd2e460b71f9004b913333d1 /etc
parent5de2684d22d025a227b7d0d5bab89fa8fb6dbfda (diff)
Tidy up README and zsh shell config file
Remove unnecessary semi-colon from vterm_prompt_end() function in zsh source code block. Apply consistent naming to source code blocks (e.g. elisp vs emacs-lisp vs emacs etc.) to avoid confusion. Remove superfluous whitespace before some source code block names. Apply consistent whitespace either side of source code blocks improving readability when editing. See #635.
Diffstat (limited to 'etc')
-rw-r--r--etc/emacs-vterm-zsh.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/emacs-vterm-zsh.sh b/etc/emacs-vterm-zsh.sh
index 9006c5e..1dcd20e 100644
--- a/etc/emacs-vterm-zsh.sh
+++ b/etc/emacs-vterm-zsh.sh
@@ -48,7 +48,7 @@ add-zsh-hook -Uz chpwd (){ print -Pn "\e]2;%m:%2~\a" }
# The escape sequence "51;A" has also the role of identifying the end of the
# prompt
vterm_prompt_end() {
- vterm_printf "51;A$(whoami)@$(hostname):$(pwd)";
+ vterm_printf "51;A$(whoami)@$(hostname):$(pwd)"
}
setopt PROMPT_SUBST
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'