diff options
| author | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2026-09-27 17:38:39 +0200 |
| commit | 0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch) | |
| tree | 11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /bin/dot | |
| parent | 4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff) | |
| download | dotfiles-master.tar.gz | |
Automated-commit-by: dots Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
| -rwxr-xr-x | bin/dots | 10 |
1 files changed, 9 insertions, 1 deletions
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 |