mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
sh: Fix quoting discipline in tmux-thumbs.tmux
This commit is contained in:
parent
92926c73f9
commit
b355406972
@ -2,11 +2,12 @@
|
|||||||
|
|
||||||
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
CURRENT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
|
|
||||||
DEFAULT_THUMBS_KEY="space"
|
DEFAULT_THUMBS_KEY=space
|
||||||
THUMBS_KEY=$(tmux show-option -gqv @thumbs-key)
|
|
||||||
|
THUMBS_KEY="$(tmux show-option -gqv @thumbs-key)"
|
||||||
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
|
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
|
||||||
|
|
||||||
tmux bind-key $THUMBS_KEY run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
|
tmux bind-key "${THUMBS_KEY}" run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
|
||||||
|
|
||||||
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user