mirror of https://github.com/Chizi123/Dotfiles.git

Joel Grunbaum
2020-06-27 91af7f6bbfe6b010ea79106d3865a785daddec31
zsh/.zshrc
@@ -1,6 +1,6 @@
# Enable colors and change prompt
autoload -U colors && colors   # Load colors
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%1~%{$fg[red]%}]%{$reset_color%}$%b "
PS1="%B%{$fg[red]%}[%{$fg[yellow]%}%n%{$fg[green]%}@%{$fg[blue]%}%M %{$fg[magenta]%}%1~%{$fg[red]%}]%(?:%{$fg[white]%}$:%{$fs_bold[red]%}<%?>$)%{$reset_color%}%b "
# History files
HISTFILE=~/.zsh_history
@@ -8,13 +8,13 @@
SAVEHIST=10000
# ZSH options
setopt autocd extendedglob # Automatically cd without cd and expand globs
setopt autocd extendedglob correct_all # Automatically cd without cd and expand globs
unsetopt beep notify # Turn off terminal beeps
bindkey -e #Emacs mode
# common aliases
# common shell options
source ~/.commonshell
source /usr/share/doc/pkgfile/command-not-found.zsh
[ -f /usr/share/doc/pkgfile/command-not-found.zsh ] && source /usr/share/doc/pkgfile/command-not-found.zsh
# Make the delete key work normally
bindkey '^[[3~' delete-char