smaller-updates #28
2 changed files with 8 additions and 2 deletions
|
@ -19,7 +19,7 @@
|
|||
dest: ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting
|
||||
|
||||
- name: Clone starship
|
||||
shell: sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" -f
|
||||
shell: sh -c "$(curl -fsSL https://starship.rs/install.sh)" "" -f -b $HOME/.local/bin
|
||||
|
||||
- name: Create zshrc
|
||||
template:
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
add_newline = false
|
||||
format = """$username\
|
||||
format = """${custom.toolbox}\
|
||||
$username\
|
||||
$hostname\
|
||||
$git_branch\
|
||||
$git_commit\
|
||||
|
@ -33,3 +34,8 @@ format = "[$path]($style)[$read_only]($read_only_style) "
|
|||
[character]
|
||||
success_symbol = "[%%](bold green)"
|
||||
error_symbol = "[%%](bold red)"
|
||||
|
||||
[custom.toolbox]
|
||||
when = "ls /run/.containerenv"
|
||||
command = "echo ⬢"
|
||||
style = "bold purple"
|
||||
|
|
Loading…
Reference in a new issue