Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jrom committed Sep 9, 2016
1 parent 3ff7e59 commit 7144866
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 3 deletions.
4 changes: 2 additions & 2 deletions bash/aliases
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
alias vim='mvim -v'
alias vi='mvim -v'
#alias vim='mvim -v'
#alias vi='mvim -v'

# mate
alias matew='mate -w'
Expand Down
1 change: 1 addition & 0 deletions bash/completions
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ source ~/.bash/completion_scripts/git_completion
complete -C ~/.bash/completion_scripts/rake_completion -o default rake
complete -C ~/.bash/completion_scripts/project_completion -o default c
complete -C ~/.bash/completion_scripts/capistrano_completion -o default cap
complete -C aws_completer aws
1 change: 1 addition & 0 deletions bash/config
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export CLICOLOR=1
export LSCOLORS=bxfxcxdxbxegebabagacad

export LESS="-R"
export ANSIBLE_NOCOWS=1

function __git_dirty {
git diff --quiet HEAD &>/dev/null
Expand Down
17 changes: 16 additions & 1 deletion bash/paths
Original file line number Diff line number Diff line change
@@ -1,7 +1,22 @@
export PATH="~/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH"
export PATH="~/.bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/local/git/bin:$PATH"
export PATH="/opt/local/bin:$PATH"
export MANPATH="/usr/local/man:/usr/local/mysql/man:/usr/local/git/man:$MANPATH"

export JAVA_HOME=$(/usr/libexec/java_home -v 1.7)
setjdk() {
export JAVA_HOME=$(/usr/libexec/java_home -v $1)
}

export PATH="${JAVA_HOME}/bin:$PATH"
export PATH="/Volumes/RubyEncoder/RubyEncoder.app/Contents/MacOS/:$PATH"

export GOPATH="$HOME/.go"

[[ -f $HOME/.gemrc_local ]] && export GEMRC=$HOME/.gemrc_local

[[ -s $HOME/.rvm/scripts/rvm ]] && source $HOME/.rvm/scripts/rvm

export NVM_DIR="/Users/jordi/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" # This loads nvm

export PATH="$HOME/.bin:$PATH"
2 changes: 2 additions & 0 deletions bash/vars
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export SESSION_KEY=paco
export ANSIBLE_VAULT_PASSWORD_FILE=~/.vault_pass.txt
2 changes: 2 additions & 0 deletions bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ source ~/.bash/aliases
source ~/.bash/completions
source ~/.bash/paths
source ~/.bash/config
source ~/.bash/vars

if [ -f ~/.bashrc ]; then
. ~/.bashrc
Expand All @@ -12,3 +13,4 @@ eval "$(rbenv init -)"

### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
ssh-add 2> /dev/null
6 changes: 6 additions & 0 deletions gitconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@
default = tracking
[github]
user = jrom
[diff]
tool = vimdiff
[merge]
tool = vimdiff
[difftool]
prompt = false
1 change: 1 addition & 0 deletions gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.DS_Store
.svn
*~
.ackrc

0 comments on commit 7144866

Please sign in to comment.