Skip to content

Commit eb33989

Browse files
committed
Fix dir in Plumb cmd
If the clipboard contains a filename or git hash (e.g. copied on a website) this makes it possible to open it with the Plumb cmd if the focused win is a buf in the project root (e.g. ^agit or guide).
1 parent 39428f6 commit eb33989

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

bin/Plumb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
#!/bin/sh
1+
#!/bin/sh -e
2+
cd "$ACMEVIMDIR"
23
exec avim -p "$(xsel -bo)"

0 commit comments

Comments
 (0)