Auto create workspace dir. Set path for cdp.

This commit is contained in:
Hans Goor 2025-06-22 14:34:08 +01:00
parent f257b5b2d3
commit e2c966b187
Signed by: eyedevelop
SSH key fingerprint: SHA256:Td89veptDEwCV8J3fjqnknNk7SbwzedYhauyC2nFBYg
2 changed files with 2 additions and 2 deletions

View file

@ -4,4 +4,4 @@ export SPACES_DIR="${HOME}/spaces"
export WORKSPACE_DIR="${SPACES_DIR}/workspace"
mkdir -p "${SPACES_DIR}"
mkdir -p "${WORKSPACE_DIR}"

View file

@ -5,5 +5,5 @@ alias vim="nvim"
alias cdw="cd \${WORKSPACE_DIR}"
function cdp() {
cd -- "$(_cdp_path "$@")"
cd -- "${WORKSPACE_DIR}/$(~/.local/bin/pp "$@")"
}