From: Andrew Date: Sat, 23 Aug 2025 15:15:46 +0000 (-0400) Subject: zsh and tmux config added X-Git-Url: http://git.skullheadx.com/projects/suckless.html?a=commitdiff_plain;h=4008f6f27bf237152f5f2788a642c769efc9bc48;p=nixos.git zsh and tmux config added --- diff --git a/sh.nix b/sh.nix index 46ffbeb..f16b3cf 100644 --- a/sh.nix +++ b/sh.nix @@ -4,7 +4,6 @@ pkgs, ... }: -let myAliases = { ll = "ls -l"; ".." = "cd .."; @@ -30,22 +29,26 @@ in theme = ""; }; initContent = '' - # Powerlevel10k configuration - source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme - source ${./.p10k.zsh} - # Initialize zoxide - eval "$(zoxide init zsh)" + # Powerlevel10k configuration + source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme + source ${./.p10k.zsh} + # Initialize zoxide + eval "$(zoxide init zsh)" - # Initialize fzf - source <(fzf --zsh) + # Initialize fzf + source <(fzf --zsh) - # Source fzf-tab (needs to be after fzf) - source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh + # Source fzf-tab (needs to be after fzf) + source ${pkgs.zsh-fzf-tab}/share/fzf-tab/fzf-tab.plugin.zsh - # Custom aliases - alias ll="ls -la" - alias gs="git status" + # Custom aliases + alias ll="ls -la" + alias gs="git status" - bindkey '^ ' autosuggest-execute - ''; }; + bindkey '^ ' autosuggest-execute + ''; + }; + programs.fish = { + enable = true; + }; } diff --git a/tmux.nix b/tmux.nix index ec5ba81..130c204 100644 --- a/tmux.nix +++ b/tmux.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: { - programs.tmux = { + programs.tmux = { enable = true; terminal = "xterm-256color"; historyLimit = 5000;