Skip to content

Commit d776f4e

Browse files
authored
Merge pull request #142 from jonasw234/master
Remove 'next-' string from version, fixes #140
2 parents 648005d + 0780e4d commit d776f4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/helpers.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ clipboard_copy_command() {
174174
}
175175

176176
# Cache the TMUX version for speed.
177-
tmux_version="$(tmux -V | cut -d ' ' -f 2)"
177+
tmux_version="$(tmux -V | cut -d ' ' -f 2 | sed 's/next-//')"
178178

179179
tmux_is_at_least() {
180180
if [[ $tmux_version == "$1" ]] || [[ $tmux_version == master ]]; then

0 commit comments

Comments
 (0)