summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoralex <[email protected]>2026-10-29 20:12:44 +0100
committeralex <[email protected]>2026-10-29 20:12:44 +0100
commitc7555010f9dc577808cd646cdc47cbc62db37f28 (patch)
tree6f7ac15daecb83009d25dd460838f2f9dea8532c
parentae7bb327f3ed4ea7f81c23222a6b8efbc6ccd7de (diff)
downloadnixos-c7555010f9dc577808cd646cdc47cbc62db37f28.tar.xz
nixos-c7555010f9dc577808cd646cdc47cbc62db37f28.zip
tmux works with starship now and has vi mode
-rw-r--r--home-manager/bash_profile3
-rw-r--r--home-manager/modules/bash.nix1
-rw-r--r--home-manager/tmux.conf1
3 files changed, 5 insertions, 0 deletions
diff --git a/home-manager/bash_profile b/home-manager/bash_profile
new file mode 100644
index 0000000..45cb87e
--- /dev/null
+++ b/home-manager/bash_profile
@@ -0,0 +1,3 @@
+if [ -f ~/.bashrc ]; then
+ . ~/.bashrc
+fi
diff --git a/home-manager/modules/bash.nix b/home-manager/modules/bash.nix
index 2ddb260..c89ef86 100644
--- a/home-manager/modules/bash.nix
+++ b/home-manager/modules/bash.nix
@@ -1,3 +1,4 @@
{ ... }: {
home.file.".bashrc".source = ../bashrc;
+ home.file.".bash_profile".source = ../bash_profile;
}
diff --git a/home-manager/tmux.conf b/home-manager/tmux.conf
index ece9774..0e8dce8 100644
--- a/home-manager/tmux.conf
+++ b/home-manager/tmux.conf
@@ -2,6 +2,7 @@
set -g mouse on
set -g base-index 1
set -g default-terminal "tmux-256color"
+set -g mode-keys vi
# Enable True Color support (crucial for code editor themes)
set -ga terminal-overrides ",*256col*:Tc"