switch to zsh and get plugins
This commit is contained in:
parent
6d07a21e56
commit
b973827403
@ -1,13 +1,35 @@
|
|||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
{
|
{
|
||||||
programs.bash = {
|
# programs.bash = {
|
||||||
|
# enable = true;
|
||||||
|
# shellAliases = {
|
||||||
|
# ls = "eza";
|
||||||
|
# tree = "eza -T";
|
||||||
|
# };
|
||||||
|
# initExtra = ''
|
||||||
|
# export EDITOR=emacs\ -nw
|
||||||
|
# '';
|
||||||
|
# };
|
||||||
|
programs.zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
ls = "eza";
|
ls = "eza";
|
||||||
tree = "eza -T";
|
tree = "eza -T";
|
||||||
};
|
};
|
||||||
initExtra = ''
|
initExtraFirst = ''
|
||||||
export EDITOR=emacs\ -nw
|
export EDITOR=emacs\ -nw
|
||||||
|
source ~/.p10k.zsh
|
||||||
'';
|
'';
|
||||||
|
enableCompletion = true;
|
||||||
|
# autosuggestions.enable = true;
|
||||||
|
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 = "zdharma-continuum/fast-syntax-highlighting"; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user