diff options
author | Hunt <lizhunt@amazon.com> | 2025-06-03 12:57:21 -0700 |
---|---|---|
committer | Hunt <lizhunt@amazon.com> | 2025-06-03 12:57:21 -0700 |
commit | fa17953f1811f9cdbf715cff281730fcf5bb9e57 (patch) | |
tree | 94d6359bac501c30a97c36ff19d780ff14a6681b | |
parent | ee9ad10b5cc9850c3e2ed1946f70e0cef429fb48 (diff) | |
download | dotfiles-fa17953f1811f9cdbf715cff281730fcf5bb9e57.tar.gz dotfiles-fa17953f1811f9cdbf715cff281730fcf5bb9e57.zip |
Copy mode and permissiones from template source file
-rw-r--r-- | dots/tmux/.config/tmux/tmux.conf | 3 | ||||
-rw-r--r-- | dots_manager/template.py | 1 |
2 files changed, 2 insertions, 2 deletions
diff --git a/dots/tmux/.config/tmux/tmux.conf b/dots/tmux/.config/tmux/tmux.conf index d5bc17c..ec28d4e 100644 --- a/dots/tmux/.config/tmux/tmux.conf +++ b/dots/tmux/.config/tmux/tmux.conf @@ -1,7 +1,6 @@ #-- <keybinds> -- set -g prefix C-s - -set-window-option mode-keys vi +set -g mode-keys vi unbind r bind r source-file ~/.config/tmux/tmux.conf diff --git a/dots_manager/template.py b/dots_manager/template.py index 13aecf7..62571a6 100644 --- a/dots_manager/template.py +++ b/dots_manager/template.py @@ -38,6 +38,7 @@ def render_template_to( return None destination.write_text(rendered) + destination.chmod(template.stat().st_mode) return destination |