From ae5ff167ee9648f763112761a0e00c75d67f6a88 Mon Sep 17 00:00:00 2001 From: thek4n Date: Sun, 1 Dec 2024 21:13:06 +0300 Subject: [PATCH] ref(zsh): rename calculator to accept_line --- home/user/.config/zsh/{calculator => accept_line} | 2 -- home/user/.config/zsh/sourcer | 2 +- install-hooks/zsh/post-install | 1 + 3 files changed, 2 insertions(+), 3 deletions(-) rename home/user/.config/zsh/{calculator => accept_line} (97%) diff --git a/home/user/.config/zsh/calculator b/home/user/.config/zsh/accept_line similarity index 97% rename from home/user/.config/zsh/calculator rename to home/user/.config/zsh/accept_line index 0c25578..341b936 100644 --- a/home/user/.config/zsh/calculator +++ b/home/user/.config/zsh/accept_line @@ -1,5 +1,3 @@ -# calculator - export ZCALC_HISTFILE="${HOME}/.zcalc_history" autoload -U zcalc diff --git a/home/user/.config/zsh/sourcer b/home/user/.config/zsh/sourcer index be77768..fbdb076 100644 --- a/home/user/.config/zsh/sourcer +++ b/home/user/.config/zsh/sourcer @@ -31,6 +31,6 @@ source "${ZDOTDIR}/plugin" source "${ZDOTDIR}/mappings" -source "${ZDOTDIR}/calculator" +source "${ZDOTDIR}/accept_line" _sod "${ZDOTDIR}/zshrc.d" \ No newline at end of file diff --git a/install-hooks/zsh/post-install b/install-hooks/zsh/post-install index dfe08e1..94eabb9 100755 --- a/install-hooks/zsh/post-install +++ b/install-hooks/zsh/post-install @@ -8,5 +8,6 @@ zfiles+=($(find "${ZDOTDIR}/" -maxdepth 1 -type f -not -name '*.zwc')) for zfile in "${zfiles[@]}" do + echo zcompile "${zfile}" zcompile "${zfile}" done \ No newline at end of file