Fixed omp prompt
Fixed: .envrc shows up when `direnv` does not exists
Tato revize je obsažena v:
rodič
d6687d8fa4
revize
aca4a42d18
1 změněných souborů, kde bylo provedeno 4 přidání a 4 odebrání
|
@ -81,9 +81,9 @@
|
|||
"style": "powerline",
|
||||
"properties": {
|
||||
"shell": "bash",
|
||||
"command": "type -t direnv *>/dev/null && { direnv status *>&1 || true; } | grep \"Found RC allowed\"; true"
|
||||
"command": "type -t direnv 2>/dev/null && { direnv status 2>&1 || true; } | grep \"Found RC allowed\"; true"
|
||||
},
|
||||
"template": "."
|
||||
"template": "{{ if .Output }}.{{ end }}"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
|
@ -100,9 +100,9 @@
|
|||
"trailing_diamond": "▓",
|
||||
"properties": {
|
||||
"shell": "bash",
|
||||
"command": "type -t direnv *>/dev/null && { direnv status *>&1 || true; } | grep \"Found RC allowed\"; true"
|
||||
"command": "type -t direnv 2>/dev/null && { direnv status 2>&1 || true; } | grep \"Found RC allowed\"; true"
|
||||
},
|
||||
"template": "envrc"
|
||||
"template": "{{ if .Output }}envrc{{ end }}"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
Načítání…
Přidat tabulku
Přidat odkaz
Odkázat v novém problému