Fixed omp prompt
Fixed: .envrc shows up when `direnv` does not exists Fixed: history hook was running before _omp_hook, losing the latest error code.
This commit is contained in:
parent
d6687d8fa4
commit
09a810495f
6 changed files with 25 additions and 11 deletions
|
@ -1,4 +1,7 @@
|
|||
alias which-command="type -fP "
|
||||
function which-command() {
|
||||
type -fP "${@}"
|
||||
}
|
||||
|
||||
function add-alias-to-bash-completion-code() {
|
||||
local CMD=$(printf "%s" "sed '" 's/\(complete\W.*-F\W.*' "$1" '.*$\)/\1 ' "$2/g'")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue