mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-12 21:39:48 +01:00
2cb403e89f
Co-authored-by: Carlo Sala <carlosalag@protonmail.com>
10 lines
252 B
Bash
10 lines
252 B
Bash
function toolbox_prompt_info() {
|
|
[[ -f /run/.toolboxenv ]] && echo "⬢"
|
|
}
|
|
|
|
function toolbox_prompt_name() {
|
|
[[ -f /run/.containerenv ]] && cat /run/.containerenv | awk -F\" '/name/ { print$2 }'
|
|
}
|
|
|
|
alias tbe="toolbox enter"
|
|
alias tbr="toolbox run"
|