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() {
|
rwx_tmux_setup() {
|
||||||
local file script
|
local file script
|
||||||
file="${HOME}/.tmux.conf"
|
if rwx_root; then
|
||||||
script="${HOME}/.tmux.sh"
|
file="/etc/tmux.conf"
|
||||||
|
script="/etc/tmux.sh"
|
||||||
|
else
|
||||||
|
file="${HOME}/.tmux.conf"
|
||||||
|
script="${HOME}/.tmux.sh"
|
||||||
|
fi
|
||||||
rwx_file_write "${script}" "\
|
rwx_file_write "${script}" "\
|
||||||
rwx_tmux_server() {
|
rwx_tmux_server() {
|
||||||
basename \"\${TMUX}\" |
|
basename \"\${TMUX}\" |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue