From fa17953f1811f9cdbf715cff281730fcf5bb9e57 Mon Sep 17 00:00:00 2001 From: Hunt Date: Tue, 3 Jun 2025 12:57:21 -0700 Subject: Copy mode and permissiones from template source file --- dots/tmux/.config/tmux/tmux.conf | 3 +-- 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 @@ #-- -- 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 -- cgit v1.2.3-70-g09d2