Skip to content

Commit

Permalink
Merge pull request omerxx#38 from hareki/fix-envvar_value-logic
Browse files Browse the repository at this point in the history
fix: envvar_value logic to handle '=' in tmux variable values
  • Loading branch information
omerxx authored Nov 21, 2024
2 parents f567ab1 + 6193859 commit 61c7f46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env bash

envvar_value() {
tmux showenv -g "$1" | cut -d '=' -f 2
tmux showenv -g "$1" | cut -d '=' -f 2-
}

tmux_option_or_fallback() {
Expand Down

0 comments on commit 61c7f46

Please sign in to comment.