zsh: rearrange stuff and add aliases

This commit is contained in:
mir 2024-05-29 14:39:59 -08:00
parent b973827403
commit fb5f7ca35c

View File

@ -15,6 +15,8 @@
shellAliases = { shellAliases = {
ls = "eza"; ls = "eza";
tree = "eza -T"; tree = "eza -T";
ping = "ping -c 4";
ip = "ip -c";
}; };
initExtraFirst = '' initExtraFirst = ''
export EDITOR=emacs\ -nw export EDITOR=emacs\ -nw
@ -25,11 +27,11 @@
zplug = { zplug = {
enable = true; enable = true;
plugins = [ plugins = [
{ name = "zsh-users/zsh-autosuggestions"; } # Simple plugin installation { name = "zsh-users/zsh-autosuggestions"; }
{ name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; } # Installations with additional options. For the list of options, please refer to Zplug README.
{ name = "zdharma-continuum/fast-syntax-highlighting"; } { name = "zdharma-continuum/fast-syntax-highlighting"; }
{ name = "romkatv/powerlevel10k"; tags = [ as:theme depth:1 ]; }
{ name = "zsh-users/zsh-completions"; }
]; ];
}; };
}; };
} }