mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-10 16:20:37 +00:00
Fix paths
This commit is contained in:
parent
e498ef61bf
commit
417b17d89f
@ -1,5 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
source ~/.bash_profile
|
||||||
|
|
||||||
CURRENT_PANE_ID=$(tmux list-panes -F "#{pane_id}:#{?pane_active,active,nope}" | grep active | cut -d: -f1)
|
CURRENT_PANE_ID=$(tmux list-panes -F "#{pane_id}:#{?pane_active,active,nope}" | grep active | cut -d: -f1)
|
||||||
COMMAND="tmux-thumbs -a qwerty -r -u --tmux-pane ${CURRENT_PANE_ID}"
|
COMMAND="tmux-thumbs -a qwerty -r -u --tmux-pane ${CURRENT_PANE_ID}"
|
||||||
NEW_ID=$(tmux new-window -P -d -n "[thumbs]" ${COMMAND})
|
NEW_ID=$(tmux new-window -P -d -n "[thumbs]" ${COMMAND})
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
tmux bind-key space run-shell "/home/ubuntu/dev/tmux-thumbs/tmux-thumbs.sh"
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
|
tmux bind-key space run-shell "${CURRENT_DIR}/tmux-thumbs.sh"
|
||||||
|
Loading…
Reference in New Issue
Block a user