Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tmux config file to tmux IPK #720

Conversation

texasaggie97
Copy link
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 <[email protected]>

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
Contributor Author

@amstewart & @ni/nilrt

@amstewart amstewart requested review from amstewart and a team 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