-
-
Save yoshuawuyts/e0fef5dcd6632897770b88f26b2f63c6 to your computer and use it in GitHub Desktop.
This file contains 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
alias ..='cd ..' | |
alias ls='gls --color=auto' | |
alias ll='ls -lh --group-directories-first' | |
alias slt='open -a "Sublime Text"' | |
alias npm-offline="npm --cache-min Infinity " | |
alias publish='git push && git push --tags && npm publish' | |
alias nodeir='node --trace-hydrogen --trace-phase=Z --trace-deopt --code-comments --hydrogen-track-positions --redirect-code-traces --redirect-code-traces-to=code.asm --print-opt-code --trace_hydrogen_file=hydrogen.cfg' | |
export HISTCONTROL=ignoredups | |
export PS1="\[\033[44m\] \W \[\033[49m\]\[\033[42m\]\$(__git_ps1 \" %s \")\[\033[49m\] " | |
export NODE_REPL_HISTORY_FILE=~/.node_history | |
export GOPATH=~/dev/go | |
export PATH="$PATH:~/dev/go/bin" | |
PS1_EMOJIS=("๐" "๐ฌ" "๐" "๐" "๐" "๐" "๐ " "๐" "๐" "๐" "๐" "๐" "๐" "โบ๏ธ" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐ค" "๐ค" "๐" "๐ค" "๐" "๐ถ" "๐" "๐" "๐ค" "๐ณ" "๐" "๐" "๐ " "๐" "๐" "๐" "๐ฃ" "๐" "๐ฉ" "๐ค" "๐ฎ" "๐ฑ" "๐จ" "๐ฐ" "๐ฏ" "๐ฆ" "๐ง" "๐ข" "๐ฅ" "๐ช" "๐" "๐ญ" "๐ฒ" "๐ค" "๐ท" "๐ด" "๐ฉ" "๐บ" "๐ธ" "๐น" "๐ป" "๐ผ" "๐ฝ" "๐" "๐ฟ" "๐พ" "๐" "๐" "๐" "๐" "๐" "๐ถ" "๐ถ" "๐ฑ" "๐ญ" "๐น" "๐ฐ" "๐ป" "๐ผ" "๐จ" "๐ฏ" "๐ฆ" "๐ฎ" "๐ท" "๐ฝ" "๐ธ" "๐" "๐ต" "๐" "๐" "๐" "๐" "๐" "๐ง" "๐ฆ" "๐ค" "๐ฃ" "๐ฅ" "๐บ" "๐" "๐ด" "๐ฆ" "๐" "๐" "๐" "๐" "๐" "๐ท" "๐ฆ" "๐ฆ" "๐" "๐ข" "๐ " "๐" "๐ก" "๐ฌ" "๐ณ" "๐" "๐" "๐" "๐ " "๐" "๐" "๐" "๐ช" "๐ซ" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐" "๐ฆ" "๐" "๐" "๐ฉ" "๐" "๐" "๐ฟ" "๐พ" "๐" "๐ฒ" "๐ธ" "๐ค" "๐") | |
_p1_emoji () { | |
printf "${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} ${PS1_EMOJIS[$RANDOM % 152]} " | |
} | |
export PS1="$PS1\$(_p1_emoji)" | |
reproduce () { | |
for i in {0..100}; do | |
"$@" || return 1 | |
done | |
return 0 | |
} | |
if [ -f /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh ]; then | |
. /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-prompt.sh | |
fi | |
if [ -f $(brew --prefix)/etc/bash_completion ]; then | |
. $(brew --prefix)/etc/bash_completion | |
fi | |
if [ -f $(which tmpdir-tab) ]; then | |
. $(which tmpdir-tab) | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment