From 169356954eb8070bb738d2cc9b7c5d88a5fc288c Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Mon, 10 Jun 2024 15:40:34 -0500 Subject: [PATCH] split off dotfile related zsh config --- home/private_dot_config/zsh/conf.d/dots.zsh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 home/private_dot_config/zsh/conf.d/dots.zsh diff --git a/home/private_dot_config/zsh/conf.d/dots.zsh b/home/private_dot_config/zsh/conf.d/dots.zsh new file mode 100644 index 0000000..38407d2 --- /dev/null +++ b/home/private_dot_config/zsh/conf.d/dots.zsh @@ -0,0 +1,10 @@ +# alias zbench='for i in {1..10}; do /usr/bin/time zsh -lic exit; done' +alias zdot='cd ${ZDOTDIR:-~}' +alias dots='cd ${DOTFILES_DIR:-~/.dotfiles}' +alias dots-drop='chezmoi forget --interactive $(chezmoi managed -p absolute | fzf -m)' +# alias dots-add='chezmoi re-add --interactive' +function dots-add { + chezmoi add $(chezmoi status | grep '^MM' | awk '{print $2}' | fzf -m) +} + +