Skip to content

Commit

Permalink
Merge pull request #9518 from Xeicker/no_tmux_tests
Browse files Browse the repository at this point in the history
Add tests to rule no_tmux_in_shells
  • Loading branch information
Mab879 committed Sep 13, 2022
2 parents 166680a + 104b5f6 commit d452c22
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

if grep -q 'tmux\s*$' /etc/shells ; then
sed -i '/tmux\s*$/d' /etc/shells
fi
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

echo "/usr/bin/tmux" >> /etc/shells

0 comments on commit d452c22

Please sign in to comment.