Last active
September 8, 2022 06:40
-
-
Save nirmalkar/9f40a12f5ee6f3c7328083b87fc25e59 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
# See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes | |
ZSH_THEME="robbyrussell" | |
ZSH_THEME_RANDOM_CANDIDATES=( "robbyrussell" "agnoster" ) | |
CASE_SENSITIVE="true" | |
HYPHEN_INSENSITIVE="true" | |
ENABLE_CORRECTION="true" | |
COMPLETION_WAITING_DOTS="true" | |
plugins=( | |
git | |
bundler | |
dotenv | |
macos | |
rake | |
rbenv | |
ruby | |
battery | |
docker | |
kubectl | |
zsh-syntax-highlighting | |
zsh-autosuggestions | |
zsh-completions | |
npm # you added this | |
) | |
export ZSH=/Users/nirmalkar/.oh-my-zsh | |
source $ZSH/oh-my-zsh.sh | |
## Aliases | |
#config | |
alias zshconfig="code ~/.zshrc" | |
# npm | |
alias ni='npm install' | |
alias ns='npm start' | |
alias nr='npm run' | |
alias nt='npm test' | |
alias nrd='npm run dev' | |
alias nrs='npm run serve' | |
alias nrb='npm run build' | |
alias nrl='npm run lint' | |
alias no='npm outdated' | |
alias nog='npm outdated -g' | |
alias nlg='npm list -g --depth=0' | |
# Shortcuts | |
alias vimf='vim -o `fzf`' | |
alias addprettier='npm i -D prettier pretty-quick eslint-config-prettier eslint-plugin-prettier husky lint-staged' | |
alias huh='if [ "$?" -eq "0" ]; then lolcat ~/.tp -a -s 40 -d 2; fi;' | |
alias chrome='/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome' | |
export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" | |
export EDITOR='vim' | |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | |
export PATH="$PATH:$HOME/.rvm/bin" | |
fortune | cowsay | lolcat |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment