Add .zshrc
This commit is contained in:
parent
13549985ce
commit
1c3c7b966e
1 changed files with 30 additions and 0 deletions
30
.zshrc
Normal file
30
.zshrc
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# 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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue