Skip to content

Instantly share code, notes, and snippets.

@gn-spawn
Created July 17, 2017 09:17
Show Gist options
  • Save gn-spawn/43ac3f9ce554486fdaafbc0d21509cbc to your computer and use it in GitHub Desktop.
Save gn-spawn/43ac3f9ce554486fdaafbc0d21509cbc to your computer and use it in GitHub Desktop.
mange.zshrc
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
export LANGUAGE="en_US.UTF-8"
export LC_ALL="en_US.UTF-8"
export PATH=$PATH:/Users/spawn00/Library/Android/sdk/platform-tools
alias lessc=“~/node_modules/less/bin/lessc”
export PATH="$HOME/.anyenv/bin:$PATH"
eval "$(anyenv init -)"
for D in `ls $HOME/.anyenv/envs`
do
export PATH="$HOME/.anyenv/envs/$D/shims:$PATH"
done
export PATH=$PATH:`npm bin -g`
#cat
alias c='pygmentize -O style=monokai -f terminal256 -g -O encoding=utf-8'
function cl() {
c $1 | nl -n ln -b a
}
alias cl=cl
# less
export LESS='-R'
export LESSOPEN='|lessfilter %s'
PATH="/usr/local/sbin:$PATH"
function _git-push-current-branch() {
current_branch=`git rev-parse --abbrev-ref HEAD 2> /dev/null`
git push origin ${current_branch}
}
alias gp="_git-push-current-branch"
export PATH="$PATH: `yarn global bin`"
alias lc='colorls'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment