diff options
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 |