diff --git a/Makefile b/Makefile index e624995..507e47f 100644 --- a/Makefile +++ b/Makefile @@ -24,6 +24,7 @@ sh: cp -f sh/snownews-url-handler $(DESTDIR)$(PREFIX)/bin cp -f sh/status $(DESTDIR)$(PREFIX)/bin cp -f sh/cfg $(DESTDIR)$(PREFIX)/bin + cp -f sh/repos $(DESTDIR)$(PREFIX)/bin mkc: c/scream c/timer c/boid c/anaconda c/simplestatus c/colors diff --git a/sh/repos b/sh/repos new file mode 100755 index 0000000..6b5bad0 --- /dev/null +++ b/sh/repos @@ -0,0 +1,6 @@ +#!/bin/sh + +sel="$(ls ~/git | fzy)" +[ "$?" -eq 1 ] && exit 1 + +nvim ~/git/"$sel"