Skip to content

Commit

Permalink
Updated aliases.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Bouch committed Jul 18, 2014
1 parent 8ba4510 commit 941ba90
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bash/aliases
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ alias gba="git branch -a"
alias gbd="git branch -d"
alias gco="git checkout"
alias gcob="git checkout -b"
alias gm="git merge"
#alias gm="git merge"
alias gr="git rebase"
alias gl="git log"
alias lg='git log --graph --full-history --all --color --pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s"'
Expand Down Expand Up @@ -148,6 +148,14 @@ function railsapp {
rails new $appname -m https://raw.github.com/RailsApps/rails3-application-templates/master/rails3-devise-rspec-cucumber-template.rb -T
}

#NPM
# npm shortcuts that only list top-level modules
# ! overrides the line-number utility
alias ng="npm list -g --depth=0 2>/dev/null"
alias nl="npm list --depth=0 2>/dev/null"
alias nt="npm test"
alias ns="npm start"

# misc
alias reload='. ~/.bash_profile'

2 changes: 2 additions & 0 deletions bash_profile
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,5 @@ fi
if [ -f ~/.localrc ]; then
. ~/.localrc
fi
export PATH="$HOME/.rbenv/bin:$PATH"
eval "$(rbenv init -)"

0 comments on commit 941ba90

Please sign in to comment.