feat(terminal): replace zellij with tmux as terminal multiplexer
Switch from zellij to tmux for terminal multiplexing with mouse support, improved window numbering, and 256-color terminal configuration. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -81,9 +81,9 @@
|
|||||||
if [ -n "$NIX_PROJECT_SHELL" ]; then
|
if [ -n "$NIX_PROJECT_SHELL" ]; then
|
||||||
PROMPT="($NIX_PROJECT_SHELL)$PROMPT"
|
PROMPT="($NIX_PROJECT_SHELL)$PROMPT"
|
||||||
fi
|
fi
|
||||||
# Only start Zellij if we're in an interactive terminal
|
# Only start tmux if we're in an interactive terminal
|
||||||
if [ -z "$ZELLIJ" ] && [ "$TERM" != "linux" ]; then
|
if [ -z "$TMUX" ] && [ "$TERM" != "linux" ]; then
|
||||||
exec zellij
|
exec tmux
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@@ -111,16 +111,21 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable zellij (terminal multiplexing)
|
# Enable tmux (terminal multiplexing)
|
||||||
programs.zellij = {
|
programs.tmux = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
# Optional: write your own config to ~/.config/zellij/config.kdl
|
# Optional: customize tmux settings
|
||||||
settings = {
|
extraConfig = ''
|
||||||
theme = "default";
|
# Enable mouse support
|
||||||
pane_frames = true;
|
set -g mouse on
|
||||||
default_layout = "compact";
|
|
||||||
};
|
# Start window numbering at 1
|
||||||
|
set -g base-index 1
|
||||||
|
|
||||||
|
# Set terminal colors
|
||||||
|
set -g default-terminal "screen-256color"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
# Neovim management - using kickstart.nvim via flake
|
# Neovim management - using kickstart.nvim via flake
|
||||||
|
|||||||
Reference in New Issue
Block a user