From 040ca9e976f5fdd950fa48335de4c98c6c2dfbae Mon Sep 17 00:00:00 2001 From: Tony-Sol Date: Thu, 9 May 2024 17:18:31 +0300 Subject: [PATCH] Use $ZDOTDIR instead of `~` if defined --- capture.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capture.zsh b/capture.zsh index aecf3ab..31b2147 100755 --- a/capture.zsh +++ b/capture.zsh @@ -23,7 +23,7 @@ PROMPT= # load completion system autoload compinit -compinit -d ~/.zcompdump_capture +compinit -d "${ZDOTDIR:-~}/.zcompdump_capture" # never run a command bindkey ''^M'' undefined