diff options
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/dme | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/.local/bin/dme b/.local/bin/dme new file mode 100755 index 0000000..dce2484 --- /dev/null +++ b/.local/bin/dme @@ -0,0 +1,6 @@ +#!/bin/sh -e + +file=$(find . -type f | dmenu -i -l 30 -m 0) +bsdsetsid emacsclient -c "$file" +kill -9 "$(ps -p $$ -oppid=)" +exit |