From 69ce4691b5b297199816af5a7a4ebbe3e31449d0 Mon Sep 17 00:00:00 2001 From: Anas Elgarhy Date: Sat, 15 Apr 2023 07:32:25 +0200 Subject: [PATCH] [update] Improve the ZSH config --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index bdf8a90..5173a19 100644 --- a/.zshrc +++ b/.zshrc @@ -1,13 +1,17 @@ source "$HOME/.config/shell/public-env.sh" source "$HOME/.config/shell/aliases.sh" +source "$HOME/.config/shell/utils.sh" USE_POWERLINE="true" setopt correct # Auto corect mistakes 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: 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%(?.% "