share zsh history
This commit is contained in:
parent
0379d33d8d
commit
832627cfc9
1 changed files with 3 additions and 0 deletions
|
@ -3,5 +3,8 @@
|
|||
# author: Daniel Sommer <daniel.sommer@velvettear.de>
|
||||
# license: MIT
|
||||
|
||||
# share zsh history
|
||||
setopt SHARE_HISTORY
|
||||
|
||||
# exit if user is not root
|
||||
[[ "$EUID" != "0" ]] && return
|
||||
|
|
Loading…
Reference in a new issue