starship python
This commit is contained in:
parent
51def65244
commit
b246f82a41
3 changed files with 15 additions and 9 deletions
|
|
@ -2,7 +2,7 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
aichat
|
||||
# (llm.withPlugins (ps: with ps; [llm-openrouter]))
|
||||
llm
|
||||
# llm
|
||||
aider-chat
|
||||
# digital
|
||||
asm-lsp
|
||||
|
|
@ -60,7 +60,12 @@
|
|||
|
||||
# python
|
||||
# pypy3
|
||||
python3
|
||||
# python3
|
||||
(python3.withPackages (ps:
|
||||
with ps; [
|
||||
llm
|
||||
# llm-openrouter
|
||||
]))
|
||||
# python310Packages.python-lsp-server
|
||||
uv
|
||||
ruff
|
||||
|
|
|
|||
|
|
@ -35,8 +35,8 @@
|
|||
"compression=zstd"
|
||||
"background_compression=zstd"
|
||||
"discard"
|
||||
# "fsck"
|
||||
# "fix_errors"
|
||||
"fsck"
|
||||
"fix_errors"
|
||||
];
|
||||
mountpoint = "/";
|
||||
};
|
||||
|
|
|
|||
|
|
@ -115,8 +115,8 @@ vimcmd_replace_one_symbol = '[](bold fg:color_purple)'
|
|||
vimcmd_replace_symbol = '[](bold fg:color_purple)'
|
||||
vimcmd_visual_symbol = '[](bold fg:color_yellow)'
|
||||
|
||||
[[battery.display]]
|
||||
threshold = 42
|
||||
# [[battery.display]]
|
||||
# threshold = 42
|
||||
|
||||
# custom module for jj status
|
||||
[custom.jj]
|
||||
|
|
@ -125,7 +125,7 @@ description = "current jj status"
|
|||
symbol = ""
|
||||
when = true
|
||||
command = '''
|
||||
jj root > /dev/null && jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
||||
if ((jj root | complete).exit_code == 0) {jj log --no-pager --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
||||
separate(" ",
|
||||
"🥋",
|
||||
change_id.shortest(4),
|
||||
|
|
@ -142,12 +142,13 @@ jj root > /dev/null && jj log --revisions @ --no-graph --ignore-working-copy --c
|
|||
"(no description set)",
|
||||
if(description.first_line().substr(0, 29) == description.first_line(),
|
||||
description.first_line(),
|
||||
description.first_line().substr(0, 29) ++ "…",
|
||||
description.first_line().substr(0, 29) ++ "...",
|
||||
)
|
||||
) ++ raw_escape_sequence("\x1b[0m"),
|
||||
)
|
||||
'
|
||||
'}
|
||||
'''
|
||||
shell = ["nu", "-c"]
|
||||
|
||||
# disable git modules
|
||||
[git_state]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue