summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlistout <listout@protonmail.com>2023-04-02 11:22:50 +0530
committerlistout <listout@protonmail.com>2023-04-02 11:22:50 +0530
commit601a0fad0722831f573897e58fbf657762357d05 (patch)
tree7820a293426b9cdafbed81fe790da70e85a5d61e
parentf2688cab5e72c46ebe785a31792a5f5c50f1361d (diff)
zsh: alias for idf master
Signed-off-by: listout <listout@protonmail.com>
-rw-r--r--.config/zsh/aliases.zsh8
1 files changed, 7 insertions, 1 deletions
diff --git a/.config/zsh/aliases.zsh b/.config/zsh/aliases.zsh
index 7c65b1a..3d65fa2 100644
--- a/.config/zsh/aliases.zsh
+++ b/.config/zsh/aliases.zsh
@@ -17,6 +17,12 @@ then
export MENUCONFIG_STYLE=monochrome
export IDF_CCACHE_ENABLE=1
fi
+if [ -d "$HOME/esp/esp-idf-v5.0" ]
+then
+ alias get_idf_5='. $HOME/esp/esp-idf-v5.0/export.sh'
+ export MENUCONFIG_STYLE=monochrome
+ export IDF_CCACHE_ENABLE=1
+fi
export LESS=-R
export LESS_TERMCAP_mb=$'\E[1;31m' # begin blink
@@ -53,7 +59,7 @@ function b2() {
fi
cp -v "${1}" "${2}";
- (ekeyword all "${2}")
+ (ekeyword \~all "${2}")
ebuild "${2}" manifest;
}