1
0
Fork 0

small edits

This commit is contained in:
Luca Bilke 2023-06-12 11:04:23 +02:00
parent 00f3ec539c
commit b583cccc89
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# vim:set ft=zsh
[ ! -f $XDG_CACHE_HOME/zsh/history ] && mkdir -p $XDG_CACHE_HOME/zsh && touch $XDG_CACHE_HOME/zsh/history
[ ! -f $XDG_DATA_HOME/zsh/history ] && mkdir -p $XDG_DATA_HOME/zsh && touch $XDG_DATA_HOME/zsh/history
setopt HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS HIST_VERIFY BANG_HIST interactive_comments autocd noflowcontrol longlistjobs nonomatch notify hash_list_all share_history histignorespace

View File

@ -1,7 +1,7 @@
# vim:set ft=zsh
HISTSIZE=10000000
SAVEHIST=10000000
HISTFILE="${XDG_CACHE_HOME:-$HOME/.cache}/zsh/history"
HISTFILE="$XDG_DATA_HOME/zsh/history"
PS1="%B%F{blue}%n%F{cyan}@%F{blue}%m %F{magenta}[%f%3~%F{magenta}] %(?.%F{green}.%F{red})»%f%b "
RPS1="%(?..%F{red}%?)"
KEYTIMEOUT=1

View File

@ -1,2 +1,5 @@
enable-ssh-support
pinentry-program /usr/local/bin/pinentry-dmenu
default-cache-ttl 600
max-cache-ttl 7200
write-env-file ~/.local/share/gnupg/gpg-agent-info