Created
May 13, 2020 13:55
-
-
Save hugoestr/540b88f86a0a431b617e6263f10ee89f 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
function acktung() { | |
ack --ignore-dir={.bundle,log,dev,lib,vendor} $1 . | |
} | |
function ackount() { | |
ack -hc --ignore-dir={.bundle,log,dev,lib,vendor} $1 . | |
} | |
function ackls { | |
ack -l --ignore-dir={.bundle,log,dev,lib,vendor} $1 . | |
} | |
alias help="grep alias ~/.zshrc" | |
alias vars="grep '^[a-z]*=' ~/.zshrc" | |
# alias to start vim with nerdtree | |
alias ide="vim -c NERDTree" | |
# use vim bindings | |
set -o vi | |
# pretty ls | |
export LSCOLORS=GxFxCxDxBxegedabagaced | |
export CLICOLOR=1 | |
# pretty grep | |
export GREP_OPTIONS='--color=auto' | |
# Make the prompt a different color | |
# This is amber | |
export PS1=$'%F{226}%1 %1/ %#%f ' | |
# set vimdiff as a merge tool | |
export THOR_MERGE=vimdiff |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment