include local aliases, refine history

This commit is contained in:
tengel 2024-03-20 11:25:14 -05:00
parent 38dac15c9a
commit a2b3754073

12
zshrc
View file

@ -1,6 +1,10 @@
# .zshrc
#
# ~/.zshrc
#
# User specific aliases and functions
[ -f "${HOME}/.zshrc_local" ] && source "${HOME}/.zshrc_local"
## Debian style bashrc prompts and color setup
#force_color_prompt=yes
case "$TERM" in
xterm-color|*-256color) color_prompt=yes;;
@ -37,7 +41,9 @@ PS4='+ '
unset color_prompt force_color_prompt
# history
setopt histignoredups histignorespace appendhistory sharehistory
setopt appendhistory extendedhistory sharehistory
setopt histignoredups histignorespace
alias history="fc -li"
HISTSIZE=1000
SAVEHIST=2000
HISTFILE=~/.zsh_history