Skip to content

Instantly share code, notes, and snippets.

@crsayen
Created August 24, 2020 22:19
Show Gist options
  • Save crsayen/0f1617393ae5322f3895356da3460654 to your computer and use it in GitHub Desktop.
Save crsayen/0f1617393ae5322f3895356da3460654 to your computer and use it in GitHub Desktop.
.zshrc for hyper
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
alias python=python3
alias pip=pip3
alias sshrestart='sudo launchctl unload /System/Library/LaunchDaemons/ssh.plist'
export ZSH="/Users/chrissayen/.oh-my-zsh"
export PATH="/Library/Frameworks/Python.framework/Versions/3.8/bin:/Users/chrissayen/.cargo/bin:/Library/Frameworks/Python.framework/Versions/3.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/share/dotnet:~/.dotnet/tools:~/sonar-scanner-4.4.0.2170-macosx/bin/:/usr/local/go/bin"
ZSH_THEME="spaceship"
SPACESHIP_PROMPT_ADD_NEWLINE="true"
SPACESHIP_CHAR_SUFFIX=(" ")
SPACESHIP_CHAR_COLOR_SUCCESS="yellow"
SPACESHIP_PROMPT_DEFAULT_PREFIX="$USER"
SPACESHIP_PROMPT_FIRST_PREFIX_SHOW="true"
SPACESHIP_USER_SHOW="true"
ENABLE_CORRECTION="true"
plugins=(git zsh-autosuggestions zsh-syntax-highlighting)
source $ZSH/oh-my-zsh.sh
alias zshconfig="code-insiders ~/.zshrc"
alias ohmyzsh="code-insiders ~/.oh-my-zsh"
alias code="code-insiders"
alias la="ls -a"
export NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
if [ -f '/Users/chrissayen/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/chrissayen/google-cloud-sdk/path.zsh.inc'; fi
if [ -f '/Users/chrissayen/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/chrissayen/google-cloud-sdk/completion.zsh.inc'; fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment