add: vim plugin
change: zsh PS1
This commit is contained in:
parent
3afab71b89
commit
ffa37d86e4
2 changed files with 12 additions and 4 deletions
.config/zsh
|
@ -1,6 +1,9 @@
|
|||
[ -f $HOME/.profile ] && source $HOME/.profile
|
||||
|
||||
# Enable colors and change prompt:
|
||||
autoload -U colors && colors
|
||||
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}$%b "
|
||||
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%~%{$fg[red]%}]%{$reset_color%}
|
||||
$%b "
|
||||
|
||||
# History in cache directory:
|
||||
HISTSIZE=10000
|
||||
|
@ -37,7 +40,5 @@ echo -ne '\e[1 q' # Use beam shape cursor on startup.
|
|||
autoload edit-command-line; zle -N edit-command-line
|
||||
bindkey '^e' edit-command-line
|
||||
|
||||
[ -f $HOME/.profile ] && source $HOME/.profile
|
||||
|
||||
# Load zsh-syntax-highlighting; should be last.
|
||||
source /usr/share/zsh/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh 2>/dev/null
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue