mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-21 17:27:13 +01:00
bash updates
This commit is contained in:
parent
933029a548
commit
bdfc8c0257
@ -12,10 +12,10 @@ export CLICOLOR=1
|
||||
export LSCOLORS=gxfxcxdxbxegedabagacad
|
||||
|
||||
# pip should only run if there is a virtualenv currently activated
|
||||
export PIP_REQUIRE_VIRTUALENV=true
|
||||
#export PIP_REQUIRE_VIRTUALENV=true
|
||||
# cache pip-installed packages to avoid re-downloading
|
||||
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
|
||||
# export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
|
||||
|
||||
# go
|
||||
export GOPATH=$HOME/.go
|
||||
export GOROOT=/usr/local/opt/go/libexec
|
||||
# export GOPATH=$HOME/.go
|
||||
# export GOROOT=/usr/local/opt/go/libexec
|
@ -8,10 +8,10 @@ declare -a dirs_to_prepend=(
|
||||
"/usr/local/bin" # Ensure that this bin always takes precedence over `/usr/bin`
|
||||
"$(brew --prefix node)/bin" # Add npm/yarn-installed package bin
|
||||
"$(brew --prefix openssl)/bin" # Add newer OpenSSL
|
||||
"$GOPATH/bin"
|
||||
"$GOROOT/bin"
|
||||
# "$GOPATH/bin"
|
||||
# "$GOROOT/bin"
|
||||
"$HOME/.bin"
|
||||
"$HOME/.rvm/bin"
|
||||
# "$HOME/.rvm/bin"
|
||||
)
|
||||
|
||||
# Directories to be appended to PATH
|
||||
@ -42,7 +42,7 @@ unset dirs_to_prepend dirs_to_append
|
||||
export PATH
|
||||
|
||||
# define CDPATHs which are autocompleted from when doing cd
|
||||
export CDPATH=$CDPATH:~/Code:~/Projects
|
||||
export CDPATH=$CDPATH:~/Code
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
@ -97,7 +97,7 @@ complete -C aws_completer aws
|
||||
|
||||
# Load RVM into a shell session *as a function*
|
||||
# shellcheck source=/dev/null
|
||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
# [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
||||
|
||||
|
||||
# ----------------------------------------------------------------------
|
||||
|
@ -29,17 +29,15 @@ brew install \
|
||||
node \
|
||||
wget \
|
||||
gpg \
|
||||
nvm \
|
||||
pinentry-mac \
|
||||
openssl \
|
||||
tor \
|
||||
mas \
|
||||
rclone \
|
||||
rsync \
|
||||
shellcheck \
|
||||
yarn \
|
||||
ipfs \
|
||||
ethereum \
|
||||
parity \
|
||||
clamav
|
||||
|
||||
# Remove outdated versions from the cellar.
|
||||
|
@ -1,19 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Installed from brewfile with node
|
||||
|
||||
# install global stuff
|
||||
npm install -g \
|
||||
doctoc \
|
||||
electron \
|
||||
eslint \
|
||||
fast-cli \
|
||||
gulp \
|
||||
gulp-cli \
|
||||
less \
|
||||
node-sass \
|
||||
now \
|
||||
stylus \
|
||||
serve \
|
||||
stylelint \
|
||||
xo
|
@ -54,17 +54,6 @@ echo "=============================================$(tput sgr0)"
|
||||
|
||||
./bin/install-brew.sh
|
||||
|
||||
echo "$(tput setaf 64)---------------------------------------------"
|
||||
echo " ✓ done$(tput sgr0)"
|
||||
# ----------------------------------------------------------------------
|
||||
# npm
|
||||
# ----------------------------------------------------------------------
|
||||
|
||||
echo "$(tput setaf 136) npm all the things. "
|
||||
echo "=============================================$(tput sgr0)"
|
||||
|
||||
./bin/install-npm.sh
|
||||
|
||||
echo "$(tput setaf 64)---------------------------------------------"
|
||||
echo " ✓ done$(tput sgr0)"
|
||||
|
||||
|
@ -11,7 +11,7 @@ echo "------------------------------$(tput sgr0)"
|
||||
|
||||
#sudo softwareupdate -i -a
|
||||
|
||||
mas upgrade
|
||||
# mas upgrade
|
||||
|
||||
#
|
||||
# Homebrew
|
||||
@ -48,20 +48,20 @@ npm update -g
|
||||
# Ruby
|
||||
# -------------
|
||||
|
||||
echo ""
|
||||
echo ""
|
||||
echo "$(tput setaf 3) Update rvm"
|
||||
echo "------------------------------$(tput sgr0)"
|
||||
# echo ""
|
||||
# echo ""
|
||||
# echo "$(tput setaf 3) Update rvm"
|
||||
# echo "------------------------------$(tput sgr0)"
|
||||
|
||||
# update rvm itself
|
||||
rvm get stable
|
||||
rvm reload
|
||||
# # update rvm itself
|
||||
# rvm get stable
|
||||
# rvm reload
|
||||
|
||||
# update all gemsets
|
||||
rvm gemset update
|
||||
# # update all gemsets
|
||||
# rvm gemset update
|
||||
|
||||
# cleanup
|
||||
rvm cleanup all
|
||||
# # cleanup
|
||||
# rvm cleanup all
|
||||
|
||||
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user