mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Fix issue with PATH in test environment
This commit is contained in:
@@ -24,9 +24,12 @@ testroot="$(abs_dirname "$BASH_SOURCE")"
|
||||
# Set root variable.
|
||||
root="$(abs_dirname "$testroot/../..")"
|
||||
|
||||
# Set TMUXIFIER environment variable
|
||||
# Set TMUXIFIER environment variable.
|
||||
TMUXIFIER="$root"
|
||||
|
||||
# Setup PATH environment variable.
|
||||
PATH="$root/bin:$root/libexec:$PATH"
|
||||
|
||||
# Unset TMUX environment variable, tests assume they're not running within
|
||||
# Tmux.
|
||||
unset TMUX
|
||||
|
||||
Reference in New Issue
Block a user