mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2025-09-06 00:16:58 +00:00
Fix tests for travis
This commit is contained in:
@ -1,8 +1,11 @@
|
||||
install_tmux_resurrect_helper() {
|
||||
rm -rf ~/.tmux/plugins/tmux-resurrect/
|
||||
cd "$CURRENT_DIR"
|
||||
git clone --recursive ../ ~/.tmux/plugins/tmux-resurrect/ >/dev/null 2>&1
|
||||
cd - >/dev/null
|
||||
local plugin_path="${HOME}/.tmux/plugins/tmux-resurrect/"
|
||||
rm -rf "$plugin_path"
|
||||
if [ -n "$TRAVIS" ]; then
|
||||
git clone --recursive https://github.com/tmux-plugins/tmux-resurrect --branch "$TRAVIS_BRANCH" "$plugin_path" >/dev/null 2>&1
|
||||
else # used on vagrant
|
||||
git clone --recursive "${CURRENT_DIR}/../" "$plugin_path" >/dev/null 2>&1
|
||||
fi
|
||||
}
|
||||
|
||||
# we want "fixed" dimensions no matter the size of real display
|
||||
|
Reference in New Issue
Block a user