From 2366b0e5b1be1f83aafc6839eee30a2b6ce7f809 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joelgrun@gmail.com>
Date: Fri, 09 Oct 2020 10:56:28 +0000
Subject: [PATCH] update emacs
---
zsh/.zshrc | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/zsh/.zshrc b/zsh/.zshrc
index 2abab2b..816c466 100644
--- a/zsh/.zshrc
+++ b/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
@@ -12,9 +12,9 @@
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
--
Gitblit v1.10.0