From c464bc05a7878282f7538e3c0382bb8d67fd8ffa Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Tue, 7 Mar 2023 16:01:47 +0100 Subject: [PATCH] Add perlbrew. Use mouse node in tmux --- dot_tmux.conf.tmpl | 3 +++ dot_zshrc.tmpl | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/dot_tmux.conf.tmpl b/dot_tmux.conf.tmpl index defb055..aab2243 100644 --- a/dot_tmux.conf.tmpl +++ b/dot_tmux.conf.tmpl @@ -53,6 +53,9 @@ set -g default-terminal "{{ .term }}" # vi keys, even for vim users set -g status-keys emacs +# Enable mouse mode (tmux 2.1 and above) +set -g mouse on + # focus events enabled for terminals that support them set -g focus-events on diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl index 8a873b7..1402f8a 100644 --- a/dot_zshrc.tmpl +++ b/dot_zshrc.tmpl @@ -70,8 +70,7 @@ alias bkp-home='doas restic -r /mnt/nfs/BSD/restic-repo --verbose backup --one- alias bkp-etc='doas restic -r /mnt/nfs/BSD/restic-repo --verbose backup /etc' alias bkp-list='doas restic -r /mnt/nfs/BSD/restic-repo snapshots' {{- else }} -export PERLBREW_ROOT=$HOME/perl5/perlbrew -export PERLBREW_HOME=$HOME/.perlbrew +source $HOME/perl5/perlbrew/etc/bashrc export PATH=$HOME/local/bin:/usr/local/opt/sqlite/bin:/usr/local/opt/ruby/bin:$GOPATH/bin:$HOME/.cargo/bin:$HOME/.symfony/bin:/usr/local/opt/mariadb@10.4/bin:$PATH {{- end }} alias vim=nvim