updated bug with env initialization; updated bug with error message on success
This commit is contained in:
parent
c89dded40b
commit
4008e410f1
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
*.zsh diff
|
@ -25,6 +25,7 @@ _CA__ACTIVATE() {
|
||||
_CA__ACTIVATE_SOURCE_PATH $SOURCE_PATH
|
||||
|
||||
_CA__TMUX_WINDOW_RENAME $PROJECT
|
||||
return 0
|
||||
}
|
||||
|
||||
_CA__ACTIVATE_VIRTUAL_ENV() {
|
||||
|
@ -22,7 +22,7 @@ _CA__GET_FULL_PATH() {
|
||||
|
||||
local FULL_BASE_DIR=$(\
|
||||
echo $CODE_ACTIVATOR__DIRS \
|
||||
| sed 's/\s\+/\n/' \
|
||||
| sed 's/\s\+/\n/g' \
|
||||
| grep "^.*/$PROJECT_ROOT_SHORT$" \
|
||||
)
|
||||
|
||||
|
@ -18,13 +18,13 @@ export CODE_ACTIVATOR__KNOWN_TARGETS=(
|
||||
|
||||
#####################################################################
|
||||
|
||||
[ ! $_CA__SOURCE_DIR_NAME ] && export _CA__SOURCE_DIR_NAME='code'
|
||||
[ ! $_CA__VIRTUAL_ENV_NAME ] && export _CA__VIRTUAL_ENV_NAME='env'
|
||||
[ ! $_CA__CUSTOM_ENV_NAME ] && export _CA__CUSTOM_ENV_NAME='custom-env'
|
||||
[ ! $_CA__NO_ENV_SENTINEL ] && export _CA__NO_ENV_SENTINEL='no-env'
|
||||
[ ! $_CA__GIT_MAIN_BRANCH ] && export _CA__GIT_MAIN_BRANCH='master'
|
||||
export _CA__SOURCE_DIR_NAME='code'
|
||||
export _CA__VIRTUAL_ENV_NAME='env'
|
||||
export _CA__CUSTOM_ENV_NAME='custom-env'
|
||||
export _CA__NO_ENV_SENTINEL='no-env'
|
||||
export _CA__GIT_MAIN_BRANCH='master'
|
||||
|
||||
[ ! $_CA__CUSTOM_ENV_TEMPLATE ] && export _CA__CUSTOM_ENV_TEMPLATE="${0:a:h}/custom-env-template.zsh"
|
||||
export _CA__CUSTOM_ENV_TEMPLATE="${0:a:h}/custom-env-template.zsh"
|
||||
|
||||
|
||||
#####################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user