Last active
July 10, 2021 13:38
-
-
Save hacktivist123/297abb2d3973546ce550f9eb32eda05d to your computer and use it in GitHub Desktop.
my zsh config
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
# Uncomment the following line if you want to disable marking untracked files | |
# under VCS as dirty. This makes repository status check for large repositories | |
# much, much faster. | |
DISABLE_UNTRACKED_FILES_DIRTY="true" | |
export NVM_DIR="/Users/coder_blvck/.nvm" | |
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm | |
# Set Spaceship ZSH as a prompt | |
# autoload -U promptinit; promptinit | |
# prompt spaceship | |
export PATH="/usr/local/opt/icu4c/sbin:$PATH" | |
DEFAULT_USER="shedrack akintayo" | |
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) | |
# Custom plugins may be added to ~/.oh-my-zsh/custom/plugins/ | |
# Example format: plugins=(rails git textmate ruby lighthouse) | |
# Add wisely, as too many plugins slow down shell startup. | |
plugins=( | |
git | |
) | |
plugins=( | |
git | |
npm | |
npx | |
osx | |
yarn | |
brew | |
dotenv | |
zsh-autosuggestions | |
zsh-syntax-highlighting | |
) | |
# Preferred editor for local and remote sessions | |
if [[ -n $SSH_CONNECTION ]]; then | |
export EDITOR='nano' | |
else | |
export EDITOR='nano' | |
fi | |
# Alias | |
alias cls="clear" | |
alias down="cd ~/Downloads" | |
alias ..="cd .." | |
alias ....="cd ../.." | |
alias zshconfig="open ~/.zshrc" | |
alias speedtest="wget -O /dev/null cachefly.cachefly.net/100mb.test" | |
alias gp="git push" | |
alias gpu="git pull" | |
alias gc="git commit" | |
alias ga="git add ." | |
alias gr="git remote add" | |
alias gs="git status" | |
alias vsc="code ." | |
alias python=python3 | |
test -e "${HOME}/.iterm2_shell_integration.zsh" && source "${HOME}/.iterm2_shell_integration.zsh" | |
eval "$(direnv hook zsh)" | |
eval "$(starship init zsh)" | |
# The next line updates PATH for the Google Cloud SDK. | |
if [ -f '/Users/coder_blvck/Downloads/google-cloud-sdk/path.zsh.inc' ]; then . '/Users/coder_blvck/Downloads/google-cloud-sdk/path.zsh.inc'; fi | |
# The next line enables shell command completion for gcloud. | |
if [ -f '/Users/coder_blvck/Downloads/google-cloud-sdk/completion.zsh.inc' ]; then . '/Users/coder_blvck/Downloads/google-cloud-sdk/completion.zsh.inc'; fi | |
# added by travis gem | |
[ ! -s /Users/coder_blvck/.travis/travis.sh ] || source /Users/coder_blvck/.travis/travis.sh | |
# BEGIN SNIPPET: Platform.sh CLI configuration | |
HOME=${HOME:-'/Users/coder_blvck'} | |
export PATH="$HOME/"'.platformsh/bin':"$PATH" | |
if [ -f "$HOME/"'.platformsh/shell-config.rc' ]; then . "$HOME/"'.platformsh/shell-config.rc'; fi # END SNIPPET | |
export PATH="$HOME/.poetry/bin:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment