1
0
Fork 0

Several zsh improvements

This commit is contained in:
Malte Brandy 2021-03-05 18:15:13 +01:00
parent 21717c3c01
commit 0251761697
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 21 additions and 1 deletions

View file

@ -16,5 +16,25 @@
enable = true;
plugins = [ "colored-man-pages" ];
};
plugins = [
{
name = "auto-notify";
src = pkgs.fetchFromGitHub {
owner = "MichaelAquilina";
repo = "zsh-auto-notify";
rev = "0.8.0";
sha256 = "02x7q0ncbj1bn031ha7k3n2q2vrbv1wbvpx9w2qxv9jagqnjm3bd";
};
}
{
name = "you-should-use";
src = "${pkgs.zsh-you-should-use}/share/zsh/plugins/you-should-use";
}
{
name = "zsh-nix-shell";
file = "nix-shell.plugin.zsh";
src = "${pkgs.zsh-nix-shell}/share/zsh-nix-shell";
}
];
};
}

View file

@ -36,6 +36,7 @@
# The list of segments shown on the left. Fill it with the most important segments.
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html)
context # os identifier
dir # current directory
vcs # git status
@ -85,7 +86,6 @@
nnn # nnn shell (https://github.com/jarun/nnn)
vim_shell # vim shell indicator (:sh)
midnight_commander # midnight commander shell (https://midnight-commander.org/)
nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html)
vi_mode # vi mode (you don't need this if you've enabled prompt_char)
# vpn_ip # virtual private network indicator
# load # CPU load