feat: powerlevel10k
This commit is contained in:
parent
26a6cac6c5
commit
f3e4546aba
1761
hosts/neodymium/.p10k.zsh
Normal file
1761
hosts/neodymium/.p10k.zsh
Normal file
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,7 @@
|
|||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -24,7 +24,6 @@
|
|||
};
|
||||
};
|
||||
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
# internationalisation
|
||||
|
@ -133,7 +132,26 @@
|
|||
path = "$HOME/.zsh_history";
|
||||
extended = true;
|
||||
};
|
||||
initExtra = ''
|
||||
bindkey -e
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[1;3C" forward-word
|
||||
bindkey "^[[1;3D" backward-word
|
||||
bindkey '^H' backward-kill-word
|
||||
bindkey '5~' kill-word
|
||||
'';
|
||||
plugins = [
|
||||
{
|
||||
name = "powerlevel10k";
|
||||
src = pkgs.zsh-powerlevel10k;
|
||||
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
||||
}
|
||||
{
|
||||
name = "powerlevel10k-config";
|
||||
src = lib.cleanSource ./. ;
|
||||
file = ".p10k.zsh";
|
||||
}
|
||||
{
|
||||
name = "zsh-nix-shell";
|
||||
file = "nix-shell.plugin.zsh";
|
||||
|
|
Loading…
Reference in a new issue