This commit is contained in:
Christian Nieves
2022-10-20 12:01:05 -05:00
parent b178f8c58f
commit 10714e9258
56 changed files with 811 additions and 266 deletions

5
tmux/.tmux/plugins/tmux-yank/scripts/copy_pane_pwd.sh Normal file → Executable file
View File

@ -16,10 +16,13 @@ display_notice() {
main() {
local copy_command
local payload
# shellcheck disable=SC2119
copy_command="$(clipboard_copy_command)"
payload="$(pane_current_path | tr -d '\n')"
# $copy_command below should not be quoted
pane_current_path | tr -d '\n' | $copy_command
echo "$payload" | $copy_command
tmux set-buffer "$payload"
display_notice
}
main