tmux + catppuccin mostly

This commit is contained in:
2025-12-19 15:22:07 +01:00
parent 93d98e3001
commit 05429407db
19 changed files with 962 additions and 768 deletions

View File

@@ -47,24 +47,40 @@ programs.zsh = {
};
initContent = ''
if [ "$TMUX" = "" ]; then exec tmux; fi
eval "$(starship init zsh)"
export NIX_LD=$(nix eval --impure --raw --expr 'let pkgs = import <nixpkgs> {}; NIX_LD = pkgs.lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker"; in NIX_LD')
export ZVM_VI_INSERT_ESCAPE_BINDKEY=jk
function zvm_after_init() {
bindkey "^[[1;5C" forward-word && bindkey "^[[1;5D" backward-word
}
autoload -U select-word-style
select-word-style bash
'';
zplug = {
enable = false;
plugins = [
{ name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation
{ name = "jeffreytse/zsh-vi-mode"; }
];
};
oh-my-zsh = {
enable = true;
enable = false;
# plugins = [ "thefuck" ];
# theme = "";
};
plugins = [
{
name = "vi-mode";
src = pkgs.zsh-vi-mode;
file = "share/zsh-vi-mode/zsh-vi-mode.plugin.zsh";
}
];
};
@@ -73,6 +89,8 @@ programs.ghostty = {
enable = true;
};
catppuccin.ghostty.enable = false;
home.file."/home/nico/.config/ghostty/config" = {
source = ./ghostty-config;
};