prompt
This commit is contained in:
1 parent
fc37656e67
commit
799c336f8c
2 files changed
+5
-3
No files matched your search
@@ -53,12 +53,13 @@ in
|
||||
nnn
|
||||
thefuck
|
||||
fastfetch
|
||||
kubectl
|
||||
kubectx
|
||||
]
|
||||
++ (if enableDevelopmentKit then [
|
||||
devenv
|
||||
devbox
|
||||
terraform
|
||||
kubectl
|
||||
] else
|
||||
[ ]);
|
||||
};
|
||||
|
||||
@@ -23,11 +23,12 @@
|
||||
enable = true;
|
||||
autosuggestion.enable = true;
|
||||
initExtra = ''
|
||||
export RPS1='$KUBE_PS1_SYMBOL_DEFAULT $(kubectx_prompt_info)/$(kubens -c)'
|
||||
export PROMPT='%(!.%{%F{yellow}%}.)$USER@%{$fg[white]%}%M %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
|
||||
'';
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "sudo" ];
|
||||
plugins = [ "git" "sudo" "kubectx" "kube-ps1" ];
|
||||
theme = "robbyrussell";
|
||||
};
|
||||
};
|
||||
@@ -48,7 +49,7 @@
|
||||
'';
|
||||
};
|
||||
alacritty = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
settings = {
|
||||
general.import = [
|
||||
"${pkgs.alacritty-theme}/ayu_dark.toml"
|
||||
|
||||
Reference in new issue
Block a user