Skip to content

Add tmux config file to tmux IPK#720

Merged
chaitu236 merged 1 commit intoni:nilrt/master/nextfrom
texasaggie97:users/texasaggie97/add-tmux-lock-settings-2
Aug 23, 2024
Merged

Add tmux config file to tmux IPK#720
chaitu236 merged 1 commit intoni:nilrt/master/nextfrom
texasaggie97:users/texasaggie97/add-tmux-lock-settings-2

Conversation

@texasaggie97
Copy link
Copy Markdown
Contributor

@texasaggie97 texasaggie97 commented Aug 19, 2024

Changes

  • AB#2816950
  • Create a directory for tmux configuration files in /usr/share/tmux/conf.d
  • Add a /etc/tmux.conf file with default lock command
  • Add a line to source all files in /usr/share/tmux/conf.d in /etc/tmux.conf
    • -q is to ignore errors if the directory is empty
  • This allows snac mode to add a conf file to this location without modifying the main tmux.conf file

Testing

  • Built modified IPK successfully
  • Installed on test machine and tmux started as expected with no errors

* Create a directory for tmux configuration files in /usr/share/tmux/conf.d
* Add a /etc/tmux.conf file with default lock command
* Add a line to source all files in /usr/share/tmux/conf.d in /etc/tmux.conf
  * -q is to ignore errors if the directory is empty
* This allows snac mode to add a conf file to this location without modifying the main tmux.conf file

Signed-off-by: Mark Silva <mark.silva@ni.com>

tmux-bbappend: Add conf.d directory
@texasaggie97 texasaggie97 force-pushed the users/texasaggie97/add-tmux-lock-settings-2 branch from 9a63984 to 22a2ad8 Compare August 20, 2024 14:51
@texasaggie97
Copy link
Copy Markdown
Contributor Author

@amstewart & @ni/nilrt

@amstewart amstewart requested review from a team and amstewart August 23, 2024 16:18
@amstewart amstewart requested a review from a team August 23, 2024 16:19
@chaitu236 chaitu236 merged commit b09f844 into ni:nilrt/master/next Aug 23, 2024
@texasaggie97 texasaggie97 deleted the users/texasaggie97/add-tmux-lock-settings-2 branch October 2, 2024 19:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants