zsh: use basic color for autosuggestion and no directory tracking in Emacs shell
This commit is contained in:
parent
9860dc42b1
commit
d409425551
@ -14,7 +14,7 @@ HIST_STAMPS="yyyy-mm-dd"
|
|||||||
HISTFILE="$ZDOTDIR/.zsh_history"
|
HISTFILE="$ZDOTDIR/.zsh_history"
|
||||||
|
|
||||||
# Styles.
|
# Styles.
|
||||||
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#ff00ff,underline"
|
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=5,underline"
|
||||||
|
|
||||||
# Plugins to load.
|
# Plugins to load.
|
||||||
plugins=(git scd zsh-syntax-highlighting zsh-autosuggestions)
|
plugins=(git scd zsh-syntax-highlighting zsh-autosuggestions)
|
||||||
@ -39,4 +39,6 @@ function vterm_printf(){
|
|||||||
vterm_prompt_end() {
|
vterm_prompt_end() {
|
||||||
vterm_printf "51;A$(whoami)@$(hostname):$(pwd)";
|
vterm_printf "51;A$(whoami)@$(hostname):$(pwd)";
|
||||||
}
|
}
|
||||||
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
if [ "$TERM" != "dumb" ]; then
|
||||||
|
PROMPT=$PROMPT'%{$(vterm_prompt_end)%}'
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user