public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Filipe Rosset <filiperosset@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/tmux] f43: Merge branch 'rawhide' into f43
Date: Sun, 28 Jun 2026 20:31:33 GMT	[thread overview]
Message-ID: <178267869304.1.5188007011008263645.rpms-tmux-036efc56ef3b@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/tmux
Branch : f43
Commit : 036efc56ef3b2111f3881490d1052a9c92b7c533
Author : Filipe Rosset <filiperosset@fedoraproject.org>
Date   : 2026-06-28T17:29:23-03:00
Stats  : +110/-6 in 2 file(s)
URL    : https://src.fedoraproject.org/rpms/tmux/c/036efc56ef3b2111f3881490d1052a9c92b7c533?branch=f43

Log:
Merge branch 'rawhide' into f43

---
diff --git a/tmux.spec b/tmux.spec
index 1004481..55a8c73 100644
--- a/tmux.spec
+++ b/tmux.spec
@@ -58,7 +58,6 @@ install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/tmux@.service
 
 
 %post
-%systemd_post tmux@.service
 # Add login shell entries to /etc/shells only when installing the package
 # for the first time:
 if [ "$1" = 1 ]; then
@@ -71,11 +70,7 @@ if [ "$1" = 1 ]; then
   fi
 fi
 
-%preun
-%systemd_preun tmux@.service
-
 %postun
-%systemd_postun_with_restart tmux@.service
 # Remove the login shell lines from /etc/shells only when uninstalling:
 if [ "$1" = 0 ] && [ -f %{_sysconfdir}/shells ]; then
   sed -i -e '\!^%{_bindir}/tmux$!d' -e '\!^/bin/tmux$!d' %{_sysconfdir}/shells

diff --git a/bash_completion_tmux.sh b/bash_completion_tmux.sh
new file mode 100644
index 0000000..74728b9
--- /dev/null
+++ b/bash_completion_tmux.sh
@@ -0,0 +1,105 @@
+# START tmux completion
+# This file is in the public domain
+# See: http://www.debian-administration.org/articles/317 for how to write more.
+# Usage: Put "source bash_completion_tmux.sh" into your .bashrc
+_tmux() 
+{
+    local cur prev opts
+    COMPREPLY=()
+    cur="${COMP_WORDS[COMP_CWORD]}"
+    prev="${COMP_WORDS[COMP_CWORD-1]}"
+    
+    opts=" \
+    attach-session \
+    bind-key \
+    break-pane \
+    capture-pane \
+    choose-client \
+    choose-session \
+    choose-window \
+    clear-history \
+    clock-mode \
+    command-prompt \
+    confirm-before \
+    copy-buffer \
+    copy-mode \
+    delete-buffer \
+    detach-client \
+    display-message \
+    display-panes \
+    down-pane \
+    find-window \
+    has-session \
+    if-shell \
+    join-pane \
+    kill-pane \
+    kill-server \
+    kill-session \
+    kill-window \
+    last-window \
+    link-window \
+    list-buffers \
+    list-clients \
+    list-commands \
+    list-keys \
+    list-panes \
+    list-sessions \
+    list-windows \
+    load-buffer \
+    lock-client \
+    lock-server \
+    lock-session \
+    move-window \
+    new-session \
+    new-window \
+    next-layout \
+    next-window \
+    paste-buffer \
+    pipe-pane \
+    previous-layout \
+    previous-window \
+    refresh-client \
+    rename-session \
+    rename-window \
+    resize-pane \
+    respawn-window \
+    rotate-window \
+    run-shell \
+    save-buffer \
+    select-layout \
+    select-pane \
+    select-prompt \
+    select-window \
+    send-keys \
+    send-prefix \
+    server-info \
+    set-buffer \
+    set-environment \
+    set-option \
+    set-window-option \
+    show-buffer \
+    show-environment \
+    show-messages \
+    show-options \
+    show-window-options \
+    source-file \
+    split-window \
+    start-server \
+    suspend-client \
+    swap-pane \
+    swap-window \
+    switch-client \
+    unbind-key \
+    unlink-window \
+    up-pane"
+
+    COMPREPLY=($(compgen -W "${opts}" -- ${cur}))  
+    return 0
+
+}
+complete -F _tmux tmux
+
+# END tmux completion
+
+
+ 	  	 

diff --git a/tmux.spec b/tmux.spec
index 2043694..55a8c73 100644
--- a/tmux.spec
+++ b/tmux.spec
@@ -2,10 +2,10 @@ Name:           tmux
 Version:        3.7
 Release:        %autorelease
 Summary:        A terminal multiplexer
-
 License:        ISC AND BSD-2-Clause AND BSD-3-Clause AND SSH-short AND LicenseRef-Fedora-Public-Domain
 URL:            https://tmux.github.io/
 Source0:        https://github.com/tmux/%{name}/releases/download/%{version}/%{name}-%{version}.tar.gz
+Source1:        bash_completion_tmux.sh
 Source2:        tmux@.service
 Source3:        README.polkit
 
@@ -46,6 +46,9 @@ cp %{SOURCE3} .
 
 %install
 %make_install
+
+# Install the bash completion file
+install -Dpm 644 %{SOURCE1} %{buildroot}%{_datadir}/bash-completion/completions/tmux
 # Install the systemd file
 install -Dpm 644 %{SOURCE2} %{buildroot}%{_unitdir}/tmux@.service
 
@@ -78,6 +81,7 @@ fi
 %doc CHANGES README* example_tmux.conf
 %{_bindir}/tmux
 %{_mandir}/man1/tmux.1.*
+%{_datadir}/bash-completion/completions/tmux
 %{_unitdir}/tmux@.service
 
 %changelog

             reply	other threads:[~2026-06-28 20:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-28 20:31 Filipe Rosset [this message]
  -- strict thread matches above, loose matches on Subject: below --
2026-06-28 19:36 [rpms/tmux] f43: Merge branch 'rawhide' into f43 Filipe Rosset

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178267869304.1.5188007011008263645.rpms-tmux-036efc56ef3b@fedoraproject.org \
    --to=filiperosset@fedoraproject.org \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox