Random shell changes
This commit is contained in:
parent
71363407b0
commit
8ecfa76607
@ -41,3 +41,7 @@ goclone() {
|
|||||||
function merchant_curl {
|
function merchant_curl {
|
||||||
tcurl -p localhost:4338 merchant Merchant::$1 -3 "$2" -t ~/go/src/code.uber.internal/everything/merchant/thrift
|
tcurl -p localhost:4338 merchant Merchant::$1 -3 "$2" -t ~/go/src/code.uber.internal/everything/merchant/thrift
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function at json {
|
||||||
|
egrep -o "\{.*" | jq .
|
||||||
|
}
|
||||||
|
@ -51,3 +51,5 @@ alias pumpitup="osascript -e 'set volume 7'"
|
|||||||
alias pip-upgrade="pip freeze --local | get_cols -F "=" 1 | xargs -n1 sudo pip install -U"
|
alias pip-upgrade="pip freeze --local | get_cols -F "=" 1 | xargs -n1 sudo pip install -U"
|
||||||
|
|
||||||
[[ -e /usr/local/Cellar/macvim ]] && alias vim="$(find /usr/local/Cellar/macvim -depth 1 | grep "[0-9]$")/MacVim.app/Contents/MacOS/Vim"
|
[[ -e /usr/local/Cellar/macvim ]] && alias vim="$(find /usr/local/Cellar/macvim -depth 1 | grep "[0-9]$")/MacVim.app/Contents/MacOS/Vim"
|
||||||
|
|
||||||
|
alias only_json='grep -E "^{\"" | jq .'
|
||||||
|
Loading…
Reference in New Issue
Block a user