From 4008e410f19f09d014586292c70813198585b5d7 Mon Sep 17 00:00:00 2001 From: Wryn Wagner Date: Thu, 16 Sep 2021 22:32:19 -0600 Subject: [PATCH] updated bug with env initialization; updated bug with error message on success --- .gitattributes | 1 + zsh/activate.zsh | 1 + zsh/helpers.zsh | 2 +- zsh/settings.zsh | Bin 1411 -> 1216 bytes 4 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..febccb6 --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +*.zsh diff diff --git a/zsh/activate.zsh b/zsh/activate.zsh index 92f9c4b..d7b7208 100644 --- a/zsh/activate.zsh +++ b/zsh/activate.zsh @@ -25,6 +25,7 @@ _CA__ACTIVATE() { _CA__ACTIVATE_SOURCE_PATH $SOURCE_PATH _CA__TMUX_WINDOW_RENAME $PROJECT + return 0 } _CA__ACTIVATE_VIRTUAL_ENV() { diff --git a/zsh/helpers.zsh b/zsh/helpers.zsh index a3b896f..9dbaf3b 100644 --- a/zsh/helpers.zsh +++ b/zsh/helpers.zsh @@ -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$" \ ) diff --git a/zsh/settings.zsh b/zsh/settings.zsh index 4ddb883e5f11da1d3df150f2c0ee502693e77183..15b7de430a1e22f8689faef77eaa207d88d10094 100644 GIT binary patch delta 36 scmZqXKES!*0Mq0LOv;m$nUyEovWQQvWfq#eo>_JB7iP81wk&Rp0OyhmqW}N^ delta 214 zcmX@W+04D+0Fy$rf}(;-yt89`e6W9Lkh5#Ni)T>0pQEp