1
0
Fork 0

zsh: update various systems

This commit is contained in:
Daniel Kempkens 2024-12-24 01:41:50 +01:00
parent 612a1bae69
commit 0626d19c75
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
11 changed files with 22 additions and 17 deletions

View file

@ -14,8 +14,7 @@
(set mod.colors dracula-colors)
(fn mod.setup []
(set g.dracula_show_end_of_buffer false)
(set g.dracula_italic_comment true)
(dracula.setup {:show_end_of_buffer false :italic_comment true})
(set o.background :dark)
(colorscheme :dracula)
;; Tabline

View file

@ -173,8 +173,7 @@
:new_tab_hover {:bg_color colors.hover-background
:fg_color colors.hover-foreground}}}
;; Fonts
:font (wezterm.font_with_fallback [{:family "Berkeley Mono"
:weight :Regular}
:font (wezterm.font_with_fallback ["Berkeley Mono"
"Symbols Nerd Font"
"Apple Symbols"
"Apple Color Emoji"

View file

@ -2,7 +2,7 @@
{
imports = [
../programs/fish.nix
../programs/zsh
../programs/atuin.nix
../programs/starship.nix

View file

@ -2,7 +2,6 @@
{
imports = [
../programs/fish.nix
../programs/zsh
../programs/atuin.nix
../programs/starship.nix

View file

@ -2,7 +2,7 @@
{
imports = [
../programs/fish.nix
../programs/zsh
../programs/starship.nix
../programs/git.nix

View file

@ -2,7 +2,7 @@
{
imports = [
../programs/fish.nix
../programs/zsh
../programs/atuin.nix
../programs/starship.nix

View file

@ -20,7 +20,6 @@ in
syntaxHighlighting = {
enable = true;
highlighters = [ "main" "brackets" ];
};
plugins = [
@ -102,13 +101,23 @@ in
};
initExtra = /* sh */ ''
# Options
setopt AUTO_CD
setopt AUTO_PUSHD
setopt PUSHD_IGNORE_DUPS
setopt INTERACTIVE_COMMENTS
# Keymaps
bindkey '^[[1;3C' forward-word # Alt+Right
bindkey '^[[1;3D' backward-word # Alt+Left
# Plugins
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets cursor)
typeset -gA ZSH_HIGHLIGHT_STYLES
ZSH_TAB_TITLE_ENABLE_FULL_COMMAND=true
ZSH_TAB_TITLE_DEFAULT_DISABLE_PREFIX=true
ZSH_TAB_TITLE_ADDITIONAL_TERMS='wezterm'
AUTO_NOTIFY_THRESHOLD=10

View file

@ -215,7 +215,6 @@ in
};
programs = {
fish.enable = true;
zsh.enable = true;
htop.enable = true;
};
@ -231,7 +230,7 @@ in
home = "/home/daniel";
description = "Daniel";
extraGroups = [ "wheel" ];
shell = pkgs.fish;
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ ssh-keys.LAN ssh-keys.DanielsPhone ];
};

View file

@ -154,7 +154,6 @@ in
fonts.fontconfig.enable = false;
programs = {
fish.enable = true;
zsh.enable = true;
htop.enable = true;
};

View file

@ -149,7 +149,6 @@ in
services.hardware.argonone.enable = true;
programs = {
fish.enable = true;
zsh.enable = true;
htop.enable = true;
};
@ -165,7 +164,7 @@ in
home = "/home/daniel";
description = "Daniel";
extraGroups = [ "wheel" ];
shell = pkgs.fish;
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ ssh-keys.LAN ];
};
};

View file

@ -174,8 +174,10 @@ in
fonts.fontconfig.enable = false;
programs.fish.enable = true;
programs.htop.enable = true;
programs = {
htop.enable = true;
zsh.enable = true;
};
users.users = {
root = {
@ -188,7 +190,7 @@ in
home = "/home/daniel";
description = "Daniel";
extraGroups = [ "wheel" ];
shell = pkgs.fish;
shell = pkgs.zsh;
openssh.authorizedKeys.keys = [ ssh-keys.Hetzner ssh-keys.DanielsPhone ];
};
};