From a5f8cbe9abf859033e8f027eab95f80cdedfa450 Mon Sep 17 00:00:00 2001 From: quak Date: Fri, 4 Oct 2024 23:26:00 +0200 Subject: [PATCH] configured tmux to start interactive shells (instead of login shells) --- bash-conf-private/.bash_profile | 2 -- bash-conf-work/.bash_profile | 3 --- tmux/.config/tmux/tmux.conf | 17 +++++++++++++++++ 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/bash-conf-private/.bash_profile b/bash-conf-private/.bash_profile index fd70723..8bac9fa 100644 --- a/bash-conf-private/.bash_profile +++ b/bash-conf-private/.bash_profile @@ -2,5 +2,3 @@ # ~/.bash_profile # -# start starship -eval "$(starship init bash)" diff --git a/bash-conf-work/.bash_profile b/bash-conf-work/.bash_profile index 0658f86..4db8580 100644 --- a/bash-conf-work/.bash_profile +++ b/bash-conf-work/.bash_profile @@ -7,6 +7,3 @@ export PATH="$PATH:~/tools/Xilinx/Vivado/2021.1/bin" # vivado license export XILINXD_LICENSE_FILE=26140@aberdeen.zhaw.ch - -# start starship -eval "$(starship init bash)" diff --git a/tmux/.config/tmux/tmux.conf b/tmux/.config/tmux/tmux.conf index e69de29..c4291c9 100644 --- a/tmux/.config/tmux/tmux.conf +++ b/tmux/.config/tmux/tmux.conf @@ -0,0 +1,17 @@ + +# use interactive shell instead of login shell +set-option -g default-command "/bin/bash" + +# set prefix key +unbind C-b +set -g prefix C-Space +bind C-Space send-prefix + +# enable mouse support +set -g mouse on + +# start window and pane index at 1 +set -g base-index 1 +set -g pane-base-index 1 +set-window-option -g pane-base-index 1 +set-option -g renumber-windows on