Mac Command Line Tools
January 3, 2018
oh my zsh alias gr='grep -Rnif /dev/stdin . <<<' alias tri='tree -I "*.pyc|__pycache__"' alias youtube-dl='/usr/local/Cellar/youtube-dl/2018.01.14/bin/youtube-dl' alias y2mp3='youtube-dl --extract-audio --audio-format mp3 --audio-quality 0' # alias for git alias gs="git status" alias gsv="git status -v" alias gaa="git add -A" alias gcm="git commit -m" alias gk="git checkout" alias gd='git diff' alias gdc='git diff --cached' alias tri="tree -I '*.pyc|__pycache__|__init__.py'" <!-- export JAVA_HOME=$(/usr/libexec/java_home) --> export ANSIBLE_SSH_CONTROL_PATH='/tmp/asb-%%h-%%p-%%r' # agnoster prompt modified ZSH_THEME_GIT_PROMPT_DIRTY='±' function _git_prompt_info() { ref=$(git symbolic-ref HEAD 2> /dev/null) || ref="➦ $(git show-ref --head -s --abbrev |head -n1 2> /dev/null)" echo "${ref/refs\/heads\// }$(parse_git_dirty)" } function _git_info() { if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then local BG_COLOR=green if [[ -n $(parse_git_dirty) ]]; then BG_COLOR=yellow FG_COLOR=black fi if [[ !
...
Read more