mirror of
https://github.com/davegallant/nix-config
synced 2025-08-05 14:43:39 +00:00
nix: improve starship config
This commit is contained in:
@@ -93,24 +93,25 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
starship = {
|
starship = {
|
||||||
|
enable = true;
|
||||||
|
enableZshIntegration = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
error_symbol = "[✖](bold red) ";
|
gcloud = {
|
||||||
enableZshIntegration = true;
|
disabled = true;
|
||||||
initExtra = ''
|
};
|
||||||
[gcloud]
|
scan_timeout = 10;
|
||||||
disabled = true
|
character = {
|
||||||
|
error_symbol = "[✖](bold red)";
|
||||||
|
};
|
||||||
|
|
||||||
[time]
|
time = {
|
||||||
time_format = "%T"
|
time_format = "%T";
|
||||||
format = "$time($style) "
|
format = "$time($style) ";
|
||||||
style = "bright-white"
|
style = "bright-white";
|
||||||
disabled = false
|
disabled = false;
|
||||||
|
};
|
||||||
[directory]
|
|
||||||
truncation_length = 5
|
|
||||||
format = "[$path]($style)[$lock_symbol]($lock_style) "
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -137,7 +138,6 @@
|
|||||||
export LANG=en_US.UTF-8
|
export LANG=en_US.UTF-8
|
||||||
eval "$(direnv hook zsh)"
|
eval "$(direnv hook zsh)"
|
||||||
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
eval "$(_RFD_COMPLETE=source_zsh rfd)"
|
||||||
eval "$(starship init zsh)"
|
|
||||||
eval "$(jira --completion-script-zsh)"
|
eval "$(jira --completion-script-zsh)"
|
||||||
setopt noincappendhistory
|
setopt noincappendhistory
|
||||||
pfetch
|
pfetch
|
||||||
|
Reference in New Issue
Block a user