share zsh history

This commit is contained in:
Daniel Sommer 2024-09-19 17:44:43 +02:00
parent 0379d33d8d
commit 832627cfc9

View file

@ -3,5 +3,8 @@
# author: Daniel Sommer <daniel.sommer@velvettear.de> # author: Daniel Sommer <daniel.sommer@velvettear.de>
# license: MIT # license: MIT
# share zsh history
setopt SHARE_HISTORY
# exit if user is not root # exit if user is not root
[[ "$EUID" != "0" ]] && return [[ "$EUID" != "0" ]] && return