From fb5f7ca35cea5505cd978f770ab89a4052db2c00 Mon Sep 17 00:00:00 2001 From: mir Date: Wed, 29 May 2024 14:39:59 -0800 Subject: [PATCH] zsh: rearrange stuff and add aliases --- modules/shell.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/modules/shell.nix b/modules/shell.nix index 660f3a5..a6c0e75 100644 --- a/modules/shell.nix +++ b/modules/shell.nix @@ -15,6 +15,8 @@ shellAliases = { ls = "eza"; tree = "eza -T"; + ping = "ping -c 4"; + ip = "ip -c"; }; initExtraFirst = '' export EDITOR=emacs\ -nw @@ -25,11 +27,11 @@ zplug = { enable = true; plugins = [ - { name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation - { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } # Installations with additional options. For the list of options, please refer to Zplug README. + { name = "zsh-users/zsh-autosuggestions"; } { name = "zdharma-continuum/fast-syntax-highlighting"; } - ]; + { name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } + { name = "zsh-users/zsh-completions"; } + ]; }; - }; }