mirror of
https://github.com/nmasur/dotfiles
synced 2026-11-13 19:25:02 +00:00
switch to native jj starship config
This commit is contained in:
1 parent
314298134d
commit
0d96b8fbed
1 file changed
+3
-14
@@ -15,8 +15,6 @@ in
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
|
||||
home.packages = [ pkgs.jj-starship ];
|
||||
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
@@ -29,7 +27,9 @@ in
|
||||
"$git_branch"
|
||||
"$git_commit"
|
||||
"$git_status"
|
||||
"\${custom.jj}"
|
||||
"$jj_bookmark"
|
||||
"$jj_status"
|
||||
"$jj_change"
|
||||
"$hostname"
|
||||
"$cmd_duration"
|
||||
"$character"
|
||||
@@ -51,17 +51,6 @@ in
|
||||
show_notifications = false;
|
||||
format = "[$duration]($style) ";
|
||||
};
|
||||
custom = {
|
||||
jj = {
|
||||
when = "jj-starship detect";
|
||||
shell = [
|
||||
"jj-starship"
|
||||
"--no-jj-prefix"
|
||||
"--no-git-prefix"
|
||||
];
|
||||
format = "$output ";
|
||||
};
|
||||
};
|
||||
directory = {
|
||||
truncate_to_repo = true;
|
||||
truncation_length = 100;
|
||||
|
||||
Reference in new issue
Block a user