Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
canvas (ble/canvas/trace): fix text justification for empty lines
- Loading branch information
1 parent
e618133
commit cdf74c2
Showing
13 changed files
with
765 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# gitignore | ||
|
||
/sample | ||
/sample.zip | ||
/a.txt | ||
|
||
# this file was the output of "starship init bash --print-full-init" | ||
/starship.bash |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# bashrc | ||
|
||
export STARSHIP_CONFIG=$PWD/starship-left.toml | ||
starship_config_right=$PWD/starship-right.toml | ||
eval "$(starship init bash)" | ||
source ~/.mwg/src/ble.sh/out/ble.sh | ||
bleopt prompt_ruler=empty-line | ||
blehook PRECMD+='bleopt prompt_rps1="$(STARSHIP_CONFIG=$starship_config_right starship prompt)"' | ||
|
||
#blehook PRECMD+='cat -A <<< "[rps1: $bleopt_prompt_rps1][[ps1: $PS1]" >> a.txt' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# bashrc | ||
|
||
export STARSHIP_CONFIG=$PWD/starship.toml | ||
eval "$(starship init bash)" | ||
source ~/.mwg/src/ble.sh/out/ble.sh --norc | ||
blehook PRECMD+='bleopt prompt_rps1="$(starship prompt --right)"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# bashrc | ||
|
||
eval "$(starship init bash)" | ||
|
||
if source out/ble.sh --noattach --norc; then | ||
blehook PRECMD+='bleopt prompt_rps1="\n\n$(starship prompt --right)"' | ||
|
||
# function ble/prompt/backslash:starship/right { | ||
# local right | ||
# ble/util/assign right 'starship prompt --right' | ||
# ble/prompt/process-prompt-string "$right" | ||
# } | ||
# bleopt prompt_rps1="\n\n\q{starship/right}" | ||
|
||
ble-attach | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# blerc | ||
|
||
export STARSHIP_CONFIG=~/.config/starship-left.toml | ||
starship_config_right=~/.config/starship-right.toml | ||
bleopt prompt_ruler=empty-line | ||
blehook PRECMD+='bleopt prompt_rps1="$(STARSHIP_CONFIG=$starship_config_right starship prompt)"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,156 @@ | ||
add_newline = false | ||
format = """\ | ||
$username\ | ||
$directory\ | ||
$package\ | ||
$git_branch\ | ||
$git_commit\ | ||
$git_state\ | ||
$git_status\ | ||
$line_break\ | ||
$jobs\ | ||
$character\ | ||
""" | ||
|
||
[directory] | ||
truncate_to_repo = true | ||
read_only = " " | ||
truncation_symbol = "…/" | ||
|
||
[package] | ||
symbol = " " | ||
|
||
[git_branch] | ||
style = 'italic purple' | ||
symbol = " " | ||
|
||
[git_commit] | ||
style = "bold white" | ||
tag_symbol = "笠 " | ||
tag_disabled = false | ||
|
||
[git_status] | ||
conflicted = "= " | ||
ahead = "⇡×${count} " | ||
behind = "⇣×${count} " | ||
diverged = "${ahead_count}×⇕×${behind_count} " | ||
untracked = "?×${count} " | ||
stashed = "\\$×${count} " | ||
modified = "!×${count} " | ||
staged = "+×${count} " | ||
renamed = "»×${count} " | ||
deleted = "✘×${count} " | ||
|
||
[fill] | ||
symbol = " " | ||
|
||
[cmd_duration] | ||
format = " took [$duration]($style)" | ||
show_notifications = true | ||
min_time_to_notify = 60_000 | ||
|
||
[env_var.WSL_DISTRO_NAME] | ||
format = " [$env_value]($style)" | ||
style = "underline purple" | ||
|
||
[env_var.MSYSTEM] | ||
format = " [$env_value]($style)" | ||
style = "underline purple" | ||
|
||
[shell] | ||
format = " \\[[$indicator]($style)\\] at" | ||
powershell_indicator = "pwsh" | ||
style = "bold blue" | ||
disabled = false | ||
|
||
[battery] | ||
full_symbol = "•" | ||
discharging_symbol = "" | ||
charging_symbol = "" | ||
unknown_symbol = "!" | ||
format = " [$symbol$percentage]($style)" | ||
|
||
[[battery.display]] | ||
threshold = 20 | ||
style = "italic red" | ||
|
||
[[battery.display]] | ||
threshold = 80 | ||
style = "italic green" | ||
|
||
[[battery.display]] | ||
threshold = 100 | ||
style = "italic yellow" | ||
|
||
[time] | ||
disabled = false | ||
format = " [$time]($style)" | ||
style = "italic cyan" | ||
|
||
[status] | ||
disabled = false | ||
format = "[$symbol$status]($style)" | ||
symbol = "✕ " | ||
|
||
[memory_usage] | ||
format = " $symbol[${ram}]($style)" | ||
threshold = -1 | ||
symbol = " " | ||
disabled = false | ||
|
||
[aws] | ||
symbol = " " | ||
|
||
[dart] | ||
symbol = " " | ||
|
||
[docker_context] | ||
symbol = " " | ||
|
||
[elixir] | ||
symbol = " " | ||
|
||
[elm] | ||
symbol = " " | ||
|
||
[golang] | ||
symbol = " " | ||
|
||
# [haskell] | ||
# symbol = " " | ||
|
||
[hg_branch] | ||
symbol = " " | ||
|
||
[java] | ||
symbol = " " | ||
|
||
[julia] | ||
symbol = " " | ||
|
||
[nim] | ||
symbol = " " | ||
|
||
[nix_shell] | ||
symbol = " " | ||
|
||
[nodejs] | ||
symbol = " " | ||
|
||
[perl] | ||
symbol = " " | ||
|
||
[php] | ||
symbol = " " | ||
|
||
[python] | ||
symbol = " " | ||
|
||
[ruby] | ||
symbol = " " | ||
|
||
[rust] | ||
symbol = " " | ||
|
||
[swift] | ||
symbol = "ﯣ " |
Oops, something went wrong.