Skip to content

Commit

Permalink
gi is alias for git. cp is alias for cherrypick
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed May 6, 2018
1 parent a96ba56 commit 3322f94
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 0 additions & 2 deletions .aliases
Expand Up @@ -39,8 +39,6 @@ alias lsd='ls -l | grep "^d"' # only directories
###


# `cat` with beautiful colors. requires: sudo easy_install -U Pygments
alias c='pygmentize -O style=monokai -f console256 -g'

###
# GIT STUFF
Expand Down
3 changes: 3 additions & 0 deletions .gitconfig
Expand Up @@ -9,6 +9,9 @@
co = checkout
df = diff --color --color-words --abbrev
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
cherrypick = cherry-pick
cherry = cherry-pick
cp = cherry-pick

# Show the diff between the latest commit and the current state
d = !"git diff-index --quiet HEAD -- || clear; git --no-pager diff --patch-with-stat"
Expand Down
1 change: 1 addition & 0 deletions fish/aliases.fish
Expand Up @@ -49,6 +49,7 @@ alias cleanup_dsstore="find . -name '*.DS_Store' -type f -ls -delete"

# Shortcuts
alias g="git"
alias gi="git"
alias v="vim"
alias ungz="gunzip -k"

Expand Down
4 changes: 2 additions & 2 deletions fish/chromium.fish
Expand Up @@ -8,9 +8,9 @@ end

function b --description "build chromium"
set -l dir (grealpath $PWD/(git rev-parse --show-cdup)out/Default/)
# 1000 seems fairly stable, but i dont want accidental failures
# 1000 will die with 'fatal: posix_spawn: No such file or directory'. 900 never has.

set -l cmd "ninja -C "$dir" -j900 chrome blink_tests"
set -l cmd "ninja -C "$dir" -j900 chrome" # rvm'd blink_tests
echo " > $cmd"
eval $cmd
end
Expand Down

0 comments on commit 3322f94

Please sign in to comment.