Skip to content

Instantly share code, notes, and snippets.

@stuart-haas
Created August 29, 2020 01:35
Show Gist options
  • Select an option

  • Save stuart-haas/ab87be27bdd3f132b872958dbb1f8a77 to your computer and use it in GitHub Desktop.

Select an option

Save stuart-haas/ab87be27bdd3f132b872958dbb1f8a77 to your computer and use it in GitHub Desktop.
My zsh config
eval "$(starship init zsh)"
source $HOME/.zsh/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
source $HOME/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
# Load completion config
source $HOME/.zsh/completion.zsh
# Initialize the completion system
autoload -Uz compinit
# Cache completion if nothing changed - faster startup time
typeset -i updated_at=$(date +'%j' -r ~/.zcompdump 2>/dev/null || stat -f '%Sm' -t '%j' ~/.zcompdump 2>/dev/null)
if [ $(date +'%j') != $updated_at ]; then
compinit -i
else
compinit -C -i
fi
# Enhanced form of menu completion called `menu selection'
zmodload -i zsh/complist
# Enable colorized output for `ls` command.
alias ls='ls -G'
export PATH="/usr/local/opt/php@7.3/bin:$PATH"
export PATH="/usr/local/opt/php@7.3/sbin:$PATH"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment