mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
starship: remove jj
This commit is contained in:
parent
9a323f5cd3
commit
1789289d99
2 changed files with 1 additions and 27 deletions
|
|
@ -1,2 +1,2 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
kill -SIGUSR1 "$(pidof kitty | awk '{ print $1 }')"
|
kill -SIGUSR1 $(pidof kitty)
|
||||||
|
|
|
||||||
|
|
@ -29,29 +29,3 @@ lua_binary = "luajit"
|
||||||
[directory]
|
[directory]
|
||||||
truncation_length = 5
|
truncation_length = 5
|
||||||
truncate_to_repo = false
|
truncate_to_repo = false
|
||||||
|
|
||||||
[custom.jj]
|
|
||||||
ignore_timeout = true
|
|
||||||
description = "The current jj status"
|
|
||||||
when = "jj root --ignore-working-copy"
|
|
||||||
symbol = "[jj](reset) "
|
|
||||||
command = '''
|
|
||||||
jj log --revisions @ --no-graph --ignore-working-copy --color always --limit 1 --template '
|
|
||||||
separate(" ",
|
|
||||||
change_id.shortest(4),
|
|
||||||
bookmarks,
|
|
||||||
concat(
|
|
||||||
if(conflict, "💥"),
|
|
||||||
if(divergent, "🚧"),
|
|
||||||
if(hidden, "👻"),
|
|
||||||
if(immutable, "🔒"),
|
|
||||||
),
|
|
||||||
raw_escape_sequence("\x1b[1;32m") ++ if(empty, "(empty)"),
|
|
||||||
raw_escape_sequence("\x1b[1;32m") ++ coalesce(
|
|
||||||
truncate_end(29, description.first_line(), "…"),
|
|
||||||
"(no description set)",
|
|
||||||
) ++ raw_escape_sequence("\x1b[0m"),
|
|
||||||
)
|
|
||||||
'
|
|
||||||
'''
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue