Use common history

This commit is contained in:
Loic Nageleisen 2021-07-06 14:31:00 +02:00
parent 64e786dbde
commit 40bca78da2
Signed by: lloeki
GPG key ID: 971B4D9F125CD31E
2 changed files with 4 additions and 1 deletions

View file

@ -13,4 +13,7 @@ export HISTCONTROL=ignoreboth
# more! # more!
export HISTSIZE=10000 export HISTSIZE=10000
# file
export HISTFILE=~/.history
# vim: ft=bash # vim: ft=bash

View file

@ -7,7 +7,7 @@ setopt hist_verify
HISTSIZE=100000 HISTSIZE=100000
SAVEHIST=100000 SAVEHIST=100000
HISTFILE=~/.zsh_history HISTFILE=~/.history
HISTORY_IGNORE="(^ +|ls|bg|fg|pwd|exit|cd ..)" HISTORY_IGNORE="(^ +|ls|bg|fg|pwd|exit|cd ..)"
# vim: ft=zsh # vim: ft=zsh