Skip to content

Commit

Permalink
console-hm: disable starship git_status if not using NixOS
Browse files Browse the repository at this point in the history
* Disable starship git_status if we are not on NixOS to avoid problems
  like microsoft/WSL#4401 and starship/starship#301
  • Loading branch information
evanjs committed Dec 6, 2020
1 parent 546b7e6 commit cc35801
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config/new-modules/console/console-hm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
settings = {
line_break.disabled = true;
git_branch.style = "bold green";
git_status.disabled = if pkgs.helpers.isNixOS then false else true;
};
};

Expand Down

0 comments on commit cc35801

Please sign in to comment.