From 9d2619fbaf4b6d8aed4246a1914266a5bbf383d1 Mon Sep 17 00:00:00 2001 From: thek4n Date: Mon, 15 Jan 2024 10:39:03 +0300 Subject: [PATCH] fix zsh dot files --- home/user/{ => .config/zsh}/.zlogout | 0 home/user/{ => .config/zsh}/.zprofile | 0 install | 2 +- install-hooks/zsh/post-install | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename home/user/{ => .config/zsh}/.zlogout (100%) rename home/user/{ => .config/zsh}/.zprofile (100%) diff --git a/home/user/.zlogout b/home/user/.config/zsh/.zlogout similarity index 100% rename from home/user/.zlogout rename to home/user/.config/zsh/.zlogout diff --git a/home/user/.zprofile b/home/user/.config/zsh/.zprofile similarity index 100% rename from home/user/.zprofile rename to home/user/.config/zsh/.zprofile diff --git a/install b/install index 56b03ca..2114359 100755 --- a/install +++ b/install @@ -12,7 +12,7 @@ export SUB declare -r -A TARGETS=( ["bash"]=".config/bash .bashrc .profile" - ["zsh"]="%bash .config/zsh .zshenv .zprofile .zlogout .inputrc" + ["zsh"]="%bash .config/zsh .zshenv .inputrc" ["tmux"]=".tmux.conf" ["alacritty"]=".config/alacritty" ["nvim"]=".config/nvim .local/bin/vim_askpass_helper .local/bin/vim_askpass_helper_python" diff --git a/install-hooks/zsh/post-install b/install-hooks/zsh/post-install index cd6a089..3470fd4 100755 --- a/install-hooks/zsh/post-install +++ b/install-hooks/zsh/post-install @@ -1,5 +1,5 @@ #!/usr/bin/env zsh -for zfile in .zshenv .config/zsh/.zshrc .zprofile .zlogout .config/zsh/aliases .config/zsh/completion .config/zsh/history .config/zsh/options .config/zsh/other .config/zsh/plugin .config/zsh/prompt .config/zsh/sourcer; do +for zfile in .zshenv .config/zsh/.zshrc .config/zsh/.zprofile .config/zsh/.zlogout .config/zsh/aliases .config/zsh/completion .config/zsh/history .config/zsh/options .config/zsh/other .config/zsh/plugin .config/zsh/prompt .config/zsh/sourcer; do zcompile "$HOME/$zfile" done