Auto create workspace dir. Set path for cdp.
This commit is contained in:
parent
f257b5b2d3
commit
f218145b8d
2 changed files with 2 additions and 2 deletions
|
|
@ -4,4 +4,4 @@ export SPACES_DIR="${HOME}/spaces"
|
|||
export WORKSPACE_DIR="${SPACES_DIR}/workspace"
|
||||
|
||||
mkdir -p "${SPACES_DIR}"
|
||||
|
||||
mkdir -p "${WORKSPACE_DIR}"
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@ alias vim="nvim"
|
|||
alias cdw="cd \${WORKSPACE_DIR}"
|
||||
|
||||
function cdp() {
|
||||
cd -- "$(_cdp_path "$@")"
|
||||
cd -- "$(pp "$@")"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue