Last active
July 12, 2019 09:19
-
-
Save lmduc/61e753c6e7e1e9287b12e4b5d670b56e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_gpo() { | |
git push origin $(git rev-parse --abbrev-ref HEAD) | |
} | |
alias gpo="_gpo" | |
_goto() { | |
files=( $(ls /Users/$(whoami)/Code) ) | |
for ((i=1; i <= ${#files[@]}; ++i)); do | |
echo "$i - ${files[$i]}" | |
done | |
echo -n 'Choose project: ' | |
read option | |
cd /Users/$(whoami)/Code/${files[$option]}/ | |
} | |
alias goto="_goto" | |
_clone() { | |
echo -n 'How many tabs: ' | |
read n | |
for i in {1..$n}; do | |
open -a Iterm . | |
done | |
} | |
alias clone="_clone" | |
alias gru="git remote update" | |
alias gcm="git commit -m" | |
alias ga="git add ." | |
alias spring_restart='bundle exec spring stop && bundle exec spring start' | |
alias g='BROWSER=w3m googler -n 10 -l en' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment