mirror of
https://github.com/kremalicious/dotfiles.git
synced 2024-11-22 09:47:21 +01:00
updates
This commit is contained in:
parent
af88968f7f
commit
8b99d2420c
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
# Directories to be prepended to PATH
|
# Directories to be prepended to PATH
|
||||||
declare -a dirs_to_prepend=(
|
declare -a dirs_to_prepend=(
|
||||||
|
"$HOME/.bin"
|
||||||
"/usr/local/sbin"
|
"/usr/local/sbin"
|
||||||
"/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`
|
||||||
)
|
)
|
||||||
@ -9,8 +10,6 @@ declare -a dirs_to_prepend=(
|
|||||||
# Directories to be appended to PATH
|
# Directories to be appended to PATH
|
||||||
declare -a dirs_to_append=(
|
declare -a dirs_to_append=(
|
||||||
"/usr/bin"
|
"/usr/bin"
|
||||||
"$HOME/.bin"
|
|
||||||
"$HOME/.rvm/bin"
|
|
||||||
"$(brew --prefix coreutils)/libexec/gnubin" # Add brew-installed GNU core utilities bin
|
"$(brew --prefix coreutils)/libexec/gnubin" # Add brew-installed GNU core utilities bin
|
||||||
"$(brew --prefix)/share/npm/bin" # Add npm-installed package bin
|
"$(brew --prefix)/share/npm/bin" # Add npm-installed package bin
|
||||||
"$(brew --prefix android-sdk)/tools"
|
"$(brew --prefix android-sdk)/tools"
|
@ -12,7 +12,7 @@
|
|||||||
# Load ~/.private, ~/.bash_prompt
|
# Load ~/.private, ~/.bash_prompt
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
for file in ~/.{bash_prompt,aliases,exports,paths,private,inputrc}; do
|
for file in ~/.{bash_paths,bash_prompt,exports,aliases,inputrc,private}; do
|
||||||
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
[ -r "$file" ] && [ -f "$file" ] && source "$file"
|
||||||
done;
|
done;
|
||||||
unset file;
|
unset file;
|
||||||
@ -59,5 +59,12 @@ complete -C aws_completer aws
|
|||||||
# grunt-cli tab completion
|
# grunt-cli tab completion
|
||||||
eval "$(grunt --completion=bash)"
|
eval "$(grunt --completion=bash)"
|
||||||
|
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
# rvm
|
||||||
|
# ----------------------------------------------------------------------
|
||||||
|
|
||||||
|
# Add RVM to PATH for scripting
|
||||||
|
export PATH="$PATH:$HOME/.rvm/bin"
|
||||||
|
|
||||||
# Load RVM into a shell session *as a function*
|
# Load RVM into a shell session *as a function*
|
||||||
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm"
|
@ -1,9 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
set -x
|
|
||||||
|
|
||||||
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f2)
|
|
||||||
do
|
|
||||||
npm -g install "$package"
|
|
||||||
done
|
|
@ -15,7 +15,7 @@
|
|||||||
dir=~/Projects/dotfiles
|
dir=~/Projects/dotfiles
|
||||||
|
|
||||||
# list of files/folders to symlink in homedir
|
# list of files/folders to symlink in homedir
|
||||||
files="aliases bashrc bash_profile bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc paths private tm_properties generator.json npmrc bin"
|
files="aliases bashrc bash_profile bash_paths bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc private tm_properties generator.json npmrc bin"
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
@ -34,8 +34,7 @@ echo "$(tput sgr0)" # reset
|
|||||||
npm install npm -g
|
npm install npm -g
|
||||||
|
|
||||||
# update all global packages
|
# update all global packages
|
||||||
#npm update -g
|
npm update -g
|
||||||
sh npm-upgrade.sh
|
|
||||||
|
|
||||||
#
|
#
|
||||||
# Ruby
|
# Ruby
|
||||||
@ -57,20 +56,6 @@ rvm gemset update
|
|||||||
rvm cleanup all
|
rvm cleanup all
|
||||||
|
|
||||||
|
|
||||||
#
|
|
||||||
# Gems
|
|
||||||
# -------------
|
|
||||||
|
|
||||||
echo "$(tput setaf 136)"
|
|
||||||
echo "Update gems "
|
|
||||||
echo "=============================="
|
|
||||||
echo "$(tput sgr0)" # reset
|
|
||||||
|
|
||||||
gem update --system
|
|
||||||
gem update
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "$(tput setaf 64)" # green
|
echo "$(tput setaf 64)" # green
|
||||||
echo "-------------------------------"
|
echo "-------------------------------"
|
||||||
echo " ✓ all done"
|
echo " ✓ all done"
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
dir=$DOTFILES_DIR
|
dir=$DOTFILES_DIR
|
||||||
|
|
||||||
# list of files/folders to symlink in homedir
|
# list of files/folders to symlink in homedir
|
||||||
files="aliases bashrc bash_profile bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc paths private tm_properties generator.json npmrc bin"
|
files="aliases bashrc bash_profile bash_paths bash_prompt exports gemrc gitconfig gitignore hushlogin inputrc private tm_properties generator.json npmrc bin"
|
||||||
|
|
||||||
|
|
||||||
# ----------------------------------------------------------------------
|
# ----------------------------------------------------------------------
|
||||||
|
@ -88,3 +88,11 @@
|
|||||||
[user]
|
[user]
|
||||||
name =
|
name =
|
||||||
email = m@kretschmann.io
|
email = m@kretschmann.io
|
||||||
|
[filter "media"]
|
||||||
|
clean = git media clean %f
|
||||||
|
smudge = git media smudge %f
|
||||||
|
required = true
|
||||||
|
[filter "hawser"]
|
||||||
|
clean = git hawser clean %f
|
||||||
|
smudge = git hawser smudge %f
|
||||||
|
required = true
|
||||||
|
Loading…
Reference in New Issue
Block a user