mirror of
https://github.com/foo-dogsquared/dotfiles.git
synced 2025-02-07 12:19:02 +00:00
Revise the zsh and xorg config
The zsh prompt has been updated to fix the lack of line wrapping in the zsh shell. The proposed solution at https://github.com/ohmyzsh/ohmyzsh/issues/2314 [which is delimiting the color codes] worked and now the prompt properly wraps lines.
This commit is contained in:
parent
50b6bee5dc
commit
b90dba8a08
@ -1,5 +1,5 @@
|
|||||||
*foreground: #e5e3e3
|
*foreground: #e5e3e3
|
||||||
*background: #eeeeee
|
*background: #221e21
|
||||||
*cursor: #e5e3e3
|
*cursor: #e5e3e3
|
||||||
|
|
||||||
*color0: #0c080b
|
*color0: #0c080b
|
||||||
|
@ -12,7 +12,7 @@ precmd_functions+=( precmd_vcs_info )
|
|||||||
setopt prompt_subst
|
setopt prompt_subst
|
||||||
zstyle ':vcs_info:git:*' formats '(%b)'
|
zstyle ':vcs_info:git:*' formats '(%b)'
|
||||||
autoload -U colors && colors
|
autoload -U colors && colors
|
||||||
PS1="%F${fg[white]}%(0?.√.%?) %B%{$fg[magenta]%}%1~%{$reset_color%} \$vcs_info_msg_0_ $%f%b "
|
PS1="%F%{${fg[white]}%}%(0?.√.%?) %B%{$fg[magenta]%}%1~%{$reset_color%} \$vcs_info_msg_0_ $%f%b "
|
||||||
|
|
||||||
# Configuring the command history.
|
# Configuring the command history.
|
||||||
HISTSIZE=1000
|
HISTSIZE=1000
|
||||||
|
Loading…
Reference in New Issue
Block a user