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,7 +1,7 @@
|
|||
if [[ -n "$(which-command chezmoi)" ]]; then
|
||||
export CHEZMOIROOT="$(chezmoi source-path)"
|
||||
export CZ="$CHEZMOIROOT/_home"
|
||||
export CZ_X="$CHEZMOIROOT/_externals"
|
||||
export CZ="$CHEZMOIROOT"
|
||||
export CZ_X="$(readlink -f $CHEZMOIROOT/../_externals)"
|
||||
|
||||
alias czcd="cd $CZ"
|
||||
alias czxcd="cd $CZ_X"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue