30 lines
1 KiB
Bash
30 lines
1 KiB
Bash
# CodeWhisperer pre block. Keep at the top of this file.
|
|
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.pre.zsh"
|
|
|
|
# Created by Zap installer
|
|
[ -f "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh" ] && source "${XDG_DATA_HOME:-$HOME/.local/share}/zap/zap.zsh"
|
|
plug "zsh-users/zsh-autosuggestions"
|
|
plug "zap-zsh/supercharge"
|
|
plug "zap-zsh/zap-prompt"
|
|
plug "zsh-users/zsh-syntax-highlighting"
|
|
plug "jeffreytse/zsh-vi-mode"
|
|
|
|
# Load and initialise completion system
|
|
autoload -Uz compinit
|
|
compinit
|
|
|
|
# Neovim
|
|
export PATH=$HOME/local/nvim/bin:$PATH
|
|
|
|
# Aliases
|
|
## Eza
|
|
alias ls="eza -a"
|
|
alias ll="eza --long --header -a"
|
|
alias tree="eza --tree --level=2"
|
|
## Pygments
|
|
alias cat="pygmentize -g"
|
|
## Neovim
|
|
alias vim="nvim"
|
|
|
|
# CodeWhisperer post block. Keep at the bottom of this file.
|
|
[[ -f "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh" ]] && builtin source "${HOME}/Library/Application Support/codewhisperer/shell/zshrc.post.zsh"
|