[update] Improve the ZSH config
This commit is contained in:
parent
bcf9205dfa
commit
69ce4691b5
1 changed files with 5 additions and 1 deletions
6
.zshrc
6
.zshrc
|
@ -1,13 +1,17 @@
|
||||||
source "$HOME/.config/shell/public-env.sh"
|
source "$HOME/.config/shell/public-env.sh"
|
||||||
source "$HOME/.config/shell/aliases.sh"
|
source "$HOME/.config/shell/aliases.sh"
|
||||||
|
source "$HOME/.config/shell/utils.sh"
|
||||||
|
|
||||||
USE_POWERLINE="true"
|
USE_POWERLINE="true"
|
||||||
setopt correct # Auto corect mistakes
|
setopt correct # Auto corect mistakes
|
||||||
setopt nobeep # No beep
|
setopt nobeep # No beep
|
||||||
|
setopt dvorak # Use the Dvorak keyboard instead of the standard qwerty keyboard
|
||||||
|
setopt correctall # Try to correct the spelling of all arguments in a line.
|
||||||
|
setopt aliases # Expand aliases
|
||||||
|
|
||||||
# Enable colors and change prompt:
|
# Enable colors and change prompt:
|
||||||
autoload -U colors && colors
|
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 "
|
||||||
|
|
||||||
# PROMPT="%B%{$fg[cyan]%}%(4~|%-1~/.../%2~|%~)%u%b >%{$fg[cyan]%}>%B%(?.% "
|
# PROMPT="%B%{$fg[cyan]%}%(4~|%-1~/.../%2~|%~)%u%b >%{$fg[cyan]%}>%B%(?.% "
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue