tmux/file,script
This commit is contained in:
parent
e88fead451
commit
3b82c3aaab
1 changed files with 7 additions and 2 deletions
|
@ -8,8 +8,13 @@
|
|||
|
||||
rwx_tmux_setup() {
|
||||
local file script
|
||||
file="${HOME}/.tmux.conf"
|
||||
script="${HOME}/.tmux.sh"
|
||||
if rwx_root; then
|
||||
file="/etc/tmux.conf"
|
||||
script="/etc/tmux.sh"
|
||||
else
|
||||
file="${HOME}/.tmux.conf"
|
||||
script="${HOME}/.tmux.sh"
|
||||
fi
|
||||
rwx_file_write "${script}" "\
|
||||
rwx_tmux_server() {
|
||||
basename \"\${TMUX}\" |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue