mirror of
https://gitea.blesmrt.net/mikaela/shell-things.git
synced 2024-11-25 20:59:23 +01:00
{bash,zsh}rc: add nodenv support
This commit is contained in:
parent
4fc9eb6281
commit
df935f9084
@ -268,6 +268,14 @@ export LOCALDOMAIN=.
|
|||||||
# regardless of whether DNSSEC=true or not.
|
# regardless of whether DNSSEC=true or not.
|
||||||
export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
||||||
|
|
||||||
|
# https://github.com/nodenv/nodenv
|
||||||
|
if [ -d ~/.nodenv/bin ]; then
|
||||||
|
PATH="$HOME/.nodenv/bin:$PATH"
|
||||||
|
eval "$(nodenv init - bash)"
|
||||||
|
# Remember! And verify it before running!
|
||||||
|
# git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build
|
||||||
|
fi
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
# To get sudo work with aliases.
|
# To get sudo work with aliases.
|
||||||
|
8
rc/zshrc
8
rc/zshrc
@ -234,6 +234,14 @@ export LOCALDOMAIN=.
|
|||||||
# regardless of whether DNSSEC=true or not.
|
# regardless of whether DNSSEC=true or not.
|
||||||
export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
export RES_OPTIONS="timeout:2 attempts:2 rotate edns0 trust-ad"
|
||||||
|
|
||||||
|
# https://github.com/nodenv/nodenv
|
||||||
|
if [ -d ~/.nodenv/bin ]; then
|
||||||
|
PATH="$HOME/.nodenv/bin:$PATH"
|
||||||
|
eval "$(nodenv init - zsh)"
|
||||||
|
# Remember! And verify it before running!
|
||||||
|
# git clone https://github.com/nodenv/node-build.git "$(nodenv root)"/plugins/node-build
|
||||||
|
fi
|
||||||
|
|
||||||
##### Aliases RJ706I #####
|
##### Aliases RJ706I #####
|
||||||
|
|
||||||
# To get sudo work with aliases.
|
# To get sudo work with aliases.
|
||||||
|
Loading…
Reference in New Issue
Block a user