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
|
nnn
|
||||||
thefuck
|
thefuck
|
||||||
fastfetch
|
fastfetch
|
||||||
|
kubectl
|
||||||
|
kubectx
|
||||||
]
|
]
|
||||||
++ (if enableDevelopmentKit then [
|
++ (if enableDevelopmentKit then [
|
||||||
devenv
|
devenv
|
||||||
devbox
|
devbox
|
||||||
terraform
|
terraform
|
||||||
kubectl
|
|
||||||
] else
|
] else
|
||||||
[ ]);
|
[ ]);
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -23,11 +23,12 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
autosuggestion.enable = true;
|
autosuggestion.enable = true;
|
||||||
initExtra = ''
|
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)'
|
export PROMPT='%(!.%{%F{yellow}%}.)$USER@%{$fg[white]%}%M %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)'
|
||||||
'';
|
'';
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = [ "git" "sudo" ];
|
plugins = [ "git" "sudo" "kubectx" "kube-ps1" ];
|
||||||
theme = "robbyrussell";
|
theme = "robbyrussell";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -48,7 +49,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
alacritty = {
|
alacritty = {
|
||||||
enable = true;
|
enable = false;
|
||||||
settings = {
|
settings = {
|
||||||
general.import = [
|
general.import = [
|
||||||
"${pkgs.alacritty-theme}/ayu_dark.toml"
|
"${pkgs.alacritty-theme}/ayu_dark.toml"
|
||||||
|
|||||||
Reference in new issue
Block a user