Fixed omp prompt
Fixed: .envrc shows up when `direnv` does not exists
这个提交存在于:
父节点
d6687d8fa4
当前提交
2b89002084
共有 1 个文件被更改,包括 4 次插入 和 4 次删除
|
@ -81,9 +81,9 @@
|
||||||
"style": "powerline",
|
"style": "powerline",
|
||||||
"properties": {
|
"properties": {
|
||||||
"shell": "bash",
|
"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",
|
"type": "command",
|
||||||
|
@ -100,9 +100,9 @@
|
||||||
"trailing_diamond": "▓",
|
"trailing_diamond": "▓",
|
||||||
"properties": {
|
"properties": {
|
||||||
"shell": "bash",
|
"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 }}"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
正在加载…
添加表格
添加链接
在新工单中引用