From d5cecf2e7706a60ef7f6df47d5d8efb3411469ae Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Wed, 10 May 2023 01:00:17 -0500 Subject: [PATCH] add forget alias --- home/private_dot_config/zsh/conf.d/aliases.zsh | 1 + todo.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/home/private_dot_config/zsh/conf.d/aliases.zsh b/home/private_dot_config/zsh/conf.d/aliases.zsh index 05e5f03..2790219 100644 --- a/home/private_dot_config/zsh/conf.d/aliases.zsh +++ b/home/private_dot_config/zsh/conf.d/aliases.zsh @@ -35,3 +35,4 @@ alias urlencode='python3 -c "import sys, urllib.parse as ul; \ alias zdot='cd ${ZDOTDIR:-~}' alias dots='cd ${DOTFILES_DIR:-~/.dotfiles}' alias today="date +'%Y-%m-%d'" +alias dots-drop='chezmoi forget --interactive $(chezmoi managed -p absolute | fzf)' diff --git a/todo.md b/todo.md index 497da5e..6f75805 100644 --- a/todo.md +++ b/todo.md @@ -1,4 +1,4 @@ # Dotfile Todo's -- [ ] make a command to 'forget' files using fzf as selector +- [x] make a command to 'forget' files using fzf as selector