1
0
mirror of https://github.com/kremalicious/dotfiles.git synced 2024-11-22 01:37:14 +01:00

bash updates

This commit is contained in:
Matthias Kretschmann 2018-10-22 23:16:39 +02:00
parent 933029a548
commit bdfc8c0257
Signed by: m
GPG Key ID: 606EEEF3C479A91F
7 changed files with 22 additions and 54 deletions

View File

@ -12,10 +12,10 @@ export CLICOLOR=1
export LSCOLORS=gxfxcxdxbxegedabagacad export LSCOLORS=gxfxcxdxbxegedabagacad
# pip should only run if there is a virtualenv currently activated # 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 # cache pip-installed packages to avoid re-downloading
export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache # export PIP_DOWNLOAD_CACHE=$HOME/.pip/cache
# go # go
export GOPATH=$HOME/.go # export GOPATH=$HOME/.go
export GOROOT=/usr/local/opt/go/libexec # export GOROOT=/usr/local/opt/go/libexec

View File

@ -8,10 +8,10 @@ declare -a dirs_to_prepend=(
"/usr/local/bin" # Ensure that this bin always takes precedence over `/usr/bin` "/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 node)/bin" # Add npm/yarn-installed package bin
"$(brew --prefix openssl)/bin" # Add newer OpenSSL "$(brew --prefix openssl)/bin" # Add newer OpenSSL
"$GOPATH/bin" # "$GOPATH/bin"
"$GOROOT/bin" # "$GOROOT/bin"
"$HOME/.bin" "$HOME/.bin"
"$HOME/.rvm/bin" # "$HOME/.rvm/bin"
) )
# Directories to be appended to PATH # Directories to be appended to PATH
@ -42,7 +42,7 @@ unset dirs_to_prepend dirs_to_append
export PATH export PATH
# define CDPATHs which are autocompleted from when doing cd # define CDPATHs which are autocompleted from when doing cd
export CDPATH=$CDPATH:~/Code:~/Projects export CDPATH=$CDPATH:~/Code
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------

View File

@ -97,7 +97,7 @@ complete -C aws_completer aws
# Load RVM into a shell session *as a function* # Load RVM into a shell session *as a function*
# shellcheck source=/dev/null # shellcheck source=/dev/null
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # [[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
# ---------------------------------------------------------------------- # ----------------------------------------------------------------------

View File

@ -29,17 +29,15 @@ brew install \
node \ node \
wget \ wget \
gpg \ gpg \
nvm \
pinentry-mac \ pinentry-mac \
openssl \ openssl \
tor \ tor \
mas \
rclone \ rclone \
rsync \ rsync \
shellcheck \ shellcheck \
yarn \ yarn \
ipfs \ ipfs \
ethereum \
parity \
clamav clamav
# Remove outdated versions from the cellar. # Remove outdated versions from the cellar.

View File

@ -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

View File

@ -54,17 +54,6 @@ echo "=============================================$(tput sgr0)"
./bin/install-brew.sh ./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 "$(tput setaf 64)---------------------------------------------"
echo " ✓ done$(tput sgr0)" echo " ✓ done$(tput sgr0)"

View File

@ -11,7 +11,7 @@ echo "------------------------------$(tput sgr0)"
#sudo softwareupdate -i -a #sudo softwareupdate -i -a
mas upgrade # mas upgrade
# #
# Homebrew # Homebrew
@ -48,20 +48,20 @@ npm update -g
# Ruby # Ruby
# ------------- # -------------
echo "" # echo ""
echo "" # echo ""
echo "$(tput setaf 3) Update rvm" # echo "$(tput setaf 3) Update rvm"
echo "------------------------------$(tput sgr0)" # echo "------------------------------$(tput sgr0)"
# update rvm itself # # update rvm itself
rvm get stable # rvm get stable
rvm reload # rvm reload
# update all gemsets # # update all gemsets
rvm gemset update # rvm gemset update
# cleanup # # cleanup
rvm cleanup all # rvm cleanup all
# #