summary refs log tree commit diff
path: root/bin/dots
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
committerRobert Günzler <r@gnzler.io>2026-09-27 17:38:39 +0200
commit0860db73ae6fd9a6f6347219d820bf026a6b8b91 (patch)
tree11318c3670d1c32c5aa0bf404c22fba3bf63fc53 /bin/dots
parent4e34cbf9673aeaba252e01df554a0d204e83c5e2 (diff)
downloaddotfiles-0860db73ae6fd9a6f6347219d820bf026a6b8b91.tar.gz
Automated-commit-by: dots
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to '')
-rwxr-xr-xbin/dots10
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