Several zsh improvements
This commit is contained in:
parent
21717c3c01
commit
0251761697
|
@ -16,5 +16,25 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ "colored-man-pages" ];
|
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";
|
||||||
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,6 +36,7 @@
|
||||||
|
|
||||||
# The list of segments shown on the left. Fill it with the most important segments.
|
# The list of segments shown on the left. Fill it with the most important segments.
|
||||||
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
typeset -g POWERLEVEL9K_LEFT_PROMPT_ELEMENTS=(
|
||||||
|
nix_shell # nix shell (https://nixos.org/nixos/nix-pills/developing-with-nix-shell.html)
|
||||||
context # os identifier
|
context # os identifier
|
||||||
dir # current directory
|
dir # current directory
|
||||||
vcs # git status
|
vcs # git status
|
||||||
|
@ -85,7 +86,6 @@
|
||||||
nnn # nnn shell (https://github.com/jarun/nnn)
|
nnn # nnn shell (https://github.com/jarun/nnn)
|
||||||
vim_shell # vim shell indicator (:sh)
|
vim_shell # vim shell indicator (:sh)
|
||||||
midnight_commander # midnight commander shell (https://midnight-commander.org/)
|
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)
|
vi_mode # vi mode (you don't need this if you've enabled prompt_char)
|
||||||
# vpn_ip # virtual private network indicator
|
# vpn_ip # virtual private network indicator
|
||||||
# load # CPU load
|
# load # CPU load
|
||||||
|
|
Loading…
Reference in a new issue