summaryrefslogtreecommitdiff
path: root/scripts/serch
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/serch')
-rwxr-xr-x[-rw-r--r--]scripts/serch6
1 files changed, 2 insertions, 4 deletions
diff --git a/scripts/serch b/scripts/serch
index fa0ea2f..0e2acfe 100644..100755
--- a/scripts/serch
+++ b/scripts/serch
@@ -1,7 +1,5 @@
#!/bin/sh
-
-sudo -A find / -type f -o -type d |
+sudo -A find / -type f -o -type d -path '/proc/*' -prune|
dmenu -i -p 'Directories/Files to search:' -l 15 |
-awk '{printf("\"%s\"\n", $0);}' |
+sed "s/.*/'&'/" |
xclip -sel c
-