feat(shell): extend starship config
This commit is contained in:
parent
d29f2d1cc8
commit
0ece8ef1d1
|
@ -1,23 +1,18 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let shellAliases = { emacs = "emacsclient -c"; };
|
||||||
shellAliases = {
|
in {
|
||||||
emacs = "emacsclient -c";
|
imports = [ ./terminal.nix ];
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./terminal.nix
|
|
||||||
];
|
|
||||||
|
|
||||||
programs.fzf = {
|
programs.fzf = { enable = true; };
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
add_newline = false;
|
add_newline = false;
|
||||||
|
status.symbol = "❌ ";
|
||||||
|
status.disabled = false;
|
||||||
aws.disabled = true;
|
aws.disabled = true;
|
||||||
|
gcloud.disabled = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -41,7 +36,8 @@ in
|
||||||
{
|
{
|
||||||
name = "zsh-history-substring-search";
|
name = "zsh-history-substring-search";
|
||||||
src = zsh-history-substring-search;
|
src = zsh-history-substring-search;
|
||||||
file = "share/zsh-history-substring-search/zsh-history-substring-search.zsh";
|
file =
|
||||||
|
"share/zsh-history-substring-search/zsh-history-substring-search.zsh";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
initExtra = with pkgs; ''
|
initExtra = with pkgs; ''
|
||||||
|
|
Loading…
Reference in a new issue