mirror of
https://github.com/jakejarvis/dotfiles.git
synced 2025-09-15 23:15:30 -04:00
randomness
This commit is contained in:
@@ -86,12 +86,14 @@ make_hugo() {
|
||||
# parentheses lets us cd to Hugo path without changing our current location
|
||||
(
|
||||
cd "$GOPATH/src/github.com/gohugoio/hugo" \
|
||||
&& /bin/bash -c "$GOPATH/bin/hugo env" \
|
||||
&& git checkout master \
|
||||
&& mage uninstall \
|
||||
&& git pull origin master \
|
||||
&& git reset --hard HEAD \
|
||||
&& mage -v hugo \
|
||||
&& HUGO_BUILD_TAGS=extended mage -v install
|
||||
&& HUGO_BUILD_TAGS=extended mage -v install \
|
||||
&& /bin/bash -c "$GOPATH/bin/hugo env"
|
||||
)
|
||||
}
|
||||
alias hugo_brew="brew upgrade hugo --fetch-HEAD --build-from-source"
|
||||
|
@@ -45,8 +45,8 @@ update() {
|
||||
brew cleanup
|
||||
|
||||
echo -e "${YELLOW}Updating NPM/Yarn packages...${NC}"
|
||||
npm install npm@latest --global
|
||||
npm update --global
|
||||
npm install --global npm@latest npm-check-updates@latest
|
||||
npm-check-updates --global --upgrade
|
||||
yarn global upgrade
|
||||
|
||||
echo -e "${YELLOW}Updating Ruby gems...${NC}"
|
||||
|
@@ -53,12 +53,11 @@ export PATH="$HOMEBREW_PREFIX/opt/jpeg-turbo/bin:$PATH"
|
||||
#export LDFLAGS="-L$HOMEBREW_PREFIX/opt/jpeg-turbo/lib"
|
||||
#export CPPFLAGS="-I$HOMEBREW_PREFIX/opt/jpeg-turbo/include"
|
||||
|
||||
# nvm
|
||||
# export NVM_DIR="$HOME/.nvm"
|
||||
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||
|
||||
# pyenv
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
if command -v pyenv 1>/dev/null 2>&1; then
|
||||
eval "$(pyenv init --path)"
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user