mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
Build on install
This commit is contained in:
parent
7d721b623a
commit
95daffafaa
@ -7,3 +7,9 @@ THUMBS_KEY=$(tmux show-option -gqv @thumbs-key)
|
||||
THUMBS_KEY=${THUMBS_KEY:-$DEFAULT_THUMBS_KEY}
|
||||
|
||||
tmux bind-key "$THUMBS_KEY" run-shell -b "${CURRENT_DIR}/tmux-thumbs.sh"
|
||||
|
||||
BINARY="${CURRENT_DIR}/target/release/thumbs"
|
||||
|
||||
if [ ! -f "$BINARY" ]; then
|
||||
cd "${CURRENT_DIR}" && cargo build --release
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user