Created
August 29, 2020 01:35
-
-
Save stuart-haas/ab87be27bdd3f132b872958dbb1f8a77 to your computer and use it in GitHub Desktop.
My zsh config
This file contains hidden or 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
| 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