From 0860db73ae6fd9a6f6347219d820bf026a6b8b91 Mon Sep 17 00:00:00 2001 From: Robert Günzler Date: Sun, 27 Sep 2026 17:38:39 +0200 Subject: * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Automated-commit-by: dots Signed-off-by: Robert Günzler --- bin/dots | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'bin/dots') diff --git a/bin/dots b/bin/dots index 7076ece..c455f58 100755 --- a/bin/dots +++ b/bin/dots @@ -7,7 +7,7 @@ git) exec /usr/bin/git --git-dir=$HOME/.dotfiles --work-tree=$HOME $* ;; st | status) - exec $0 git status -sb --untracked-files=no + exec $0 git status -sb --untracked-files=yes ;; add) shift @@ -29,4 +29,12 @@ untracked) shift exec $0 git ls-files -o $* ;; +edit) + $0 git ls-files --full-name $HOME | + fzf --layout=reverse --height='~60%' \ + --bind=enter:replace-query+become:"nvim $HOME/{q}" + ;; +*) + echo "dots has its own subcommands, if you want git, run dots git [git command]" + ;; esac -- cgit 1.4.1