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