mirror of
https://github.com/FliegendeWurst/tmux-thumbs.git
synced 2024-11-09 16:00:35 +00:00
Show the user the output of the compile command so they know something is happening, plus if there is an error they need to address.
This commit is contained in:
parent
794621f526
commit
0cf29dd942
@ -11,5 +11,5 @@ 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"
|
||||||
|
|
||||||
if [ ! -f "$BINARY" ]; then
|
if [ ! -f "$BINARY" ]; then
|
||||||
cd "${CURRENT_DIR}" && cargo build --release
|
tmux split-window "cd ${CURRENT_DIR} && cargo build --release && echo 'Press any key to continue...' && read -k1"
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user