mirror of
https://github.com/TECHNOFAB11/tmux2k.git
synced 2025-12-11 23:50:08 +01:00
fix: use relative path for pomodoro scripts
This commit is contained in:
parent
5613733bc3
commit
07f8d6c9c0
1 changed files with 3 additions and 2 deletions
|
|
@ -6,8 +6,9 @@ if [ -z "$TMUX" ]; then
|
|||
fi
|
||||
|
||||
# Check for olimorris/tmux-pomodoro-plus scripts
|
||||
POMODORO_SCRIPT="$HOME/.tmux/plugins/tmux-pomodoro-plus/scripts/pomodoro.sh"
|
||||
POMODORO_HELPER="$HOME/.tmux/plugins/tmux-pomodoro-plus/scripts/helpers.sh"
|
||||
current_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
||||
POMODORO_SCRIPT="$current_dir/../../tmux-pomodoro-plus/scripts/pomodoro.sh"
|
||||
POMODORO_HELPER="$current_dir/../../tmux-pomodoro-plus/scripts/helpers.sh"
|
||||
|
||||
if [ -f "$POMODORO_SCRIPT" ]; then
|
||||
. "$POMODORO_SCRIPT"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue