aboutsummaryrefslogtreecommitdiff
path: root/scripts/path_search.sh
diff options
context:
space:
mode:
authorCody Hiar <cody@hiar.ca>2021-01-28 08:34:35 -0700
committerCody Hiar <cody@hiar.ca>2021-01-28 08:34:35 -0700
commit8866483844e64543a652590e2ec9aa40a5bb6ef4 (patch)
tree3e69fa22b465f11c66f574924228edba4d2e6cc5 /scripts/path_search.sh
parent1b3a041521e3bb59febd21d6f86f1881d86d971e (diff)
Updating scripts
Diffstat (limited to 'scripts/path_search.sh')
-rwxr-xr-xscripts/path_search.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/path_search.sh b/scripts/path_search.sh
deleted file mode 100755
index d473607..0000000
--- a/scripts/path_search.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/usr/bin/env bash
-# vim: set filetype=sh
-#
-# Author: Cody Hiar
-# Date: 2019-04-26
-#
-# Description: Search buffer for unix paths in current tmux pane and send
-# results to fzf to copy to clipboard
-
-URL=$(tmux capture-pane -pS -30000 | perl -wnl -e '/\S*(html|py|md|txt|pdf|js|ini|json)$/ and print $&' | awk '!x[$0]++' | fzf-tmux)
-if [[ -n "$URL" ]]; then
- echo "$URL" | xp
-fi