Skip to content

Instantly share code, notes, and snippets.

@tajo
Created October 13, 2019 09:16
Show Gist options
  • Save tajo/557731ad83298b1bc6f6ae7498077cde to your computer and use it in GitHub Desktop.
Save tajo/557731ad83298b1bc6f6ae7498077cde to your computer and use it in GitHub Desktop.
.zshrc
export ZSH="/Users/miksu/.oh-my-zsh"
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
ZSH_THEME="robbyrussell"
# https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/git
# https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/yarn
# https://github.com/robbyrussell/oh-my-zsh/tree/master/plugins/dotenv
plugins=(git yarn dotenv)
source $ZSH/oh-my-zsh.sh
alias server="python -m SimpleHTTPServer 8000"
alias cpwd="pwd | tr -d '\n' | pbcopy"
alias d="cd /Users/miksu/Sync/"
alias p="cd /Users/miksu/Projects/"
alias pp="python -mjson.tool | pygmentize -l js"
alias f='open -a Finder'
alias clear='clear && history -c'
alias sall="defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder"
alias hall="defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder"
alias countjs="( find . -name '*.js' -print0 | xargs -0 cat ) | wc -l"
alias ll="ls -la"
alias ls="command ls -G"
VOLTA_HOME=$HOME/.volta
export PATH=$VOLTA_HOME/bin:$VOLTA_HOME:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment