Skip to content

Instantly share code, notes, and snippets.

@Razatastic
Created February 14, 2019 20:35
Show Gist options
  • Save Razatastic/0c38bff30209c45c37a5a18f4fdf6701 to your computer and use it in GitHub Desktop.
Save Razatastic/0c38bff30209c45c37a5a18f4fdf6701 to your computer and use it in GitHub Desktop.
My Setup
#
# Executes commands at the start of an interactive session.
#
# Authors:
# Sorin Ionescu <[email protected]>
#
# Source Prezto.
if [[ -s "${ZDOTDIR:-$HOME}/.zprezto/init.zsh" ]]; then
source "${ZDOTDIR:-$HOME}/.zprezto/init.zsh"
fi
# Customize to your needs...
#ZSH Syntax Highlight
source /usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
# -------
# Aliases
# -------
# Brew
alias brewup='brew update; brew upgrade; brew cask upgrade; brew cleanup; brew doctor'
#NPM Global list
alias npmlist='npm list -g --depth 0'
#Create React App
alias cra='npx create-react-app'
alias cowsay='npx cowsay'
alias py3='python3'
alias wifi='networksetup -setairportpower en0 off; sleep 2; networksetup -setairportpower en0 on;'
# -------
# NVM
# -------
export NVM_DIR="$HOME/.nvm"
. "/usr/local/opt/nvm/nvm.sh"
# tabtab source for electron-forge package
# uninstall by removing these lines or running `tabtab uninstall electron-forge`
[[ -f /Users/ahmadraza/.npm/_npx/7513/lib/node_modules/electron-forge/node_modules/tabtab/.completions/electron-forge.zsh ]] && . /Users/ahmadraza/.npm/_npx/7513/lib/node_modules/electron-forge/node_modules/tabtab/.completions/electron-forge.zsh
# -------
# ZSH Completions
# -------
fpath=(/usr/local/share/zsh-completions $fpath)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment