This repository has been archived on 2024-04-30. You can view files and clone it, but cannot push or open issues or pull requests.
setup/roles/zsh/files/.zshrc

30 lines
699 B
Bash
Raw Normal View History

2022-12-28 09:28:37 +00:00
export ZSH=$HOME/.oh-my-zsh
2022-11-26 16:33:21 +00:00
2022-12-28 09:28:37 +00:00
plugins=(git asdf colored-man-pages colorize command-not-found copyfile copypath docker extract docker-compose fancy-ctrl-z fzf ripgrep)
2022-11-26 16:33:21 +00:00
2022-12-28 09:28:37 +00:00
export ZSH_THEME="strug"
export ZSH_COLORIZE_TOOL=pygmentize
export FZF_BASE=~/repos/fzf
export FZF_DEFAULT_COMMAND='ag'
2022-11-26 16:33:21 +00:00
2022-12-28 09:28:37 +00:00
source $ZSH/oh-my-zsh.sh
2022-11-26 16:33:21 +00:00
2022-11-27 22:18:33 +00:00
# Git aliases
2022-11-26 16:33:21 +00:00
alias gp='git push'
alias gco='git checkout'
alias gd='git diff'
alias gc='git commit'
alias gpl='git pull'
alias gs='git status'
alias gb='git branch'
alias ga='git add'
alias gl='git log'
2022-11-26 16:58:49 +00:00
2022-11-27 22:18:33 +00:00
# For neovim
PATH=$PATH:/usr/local
alias vi='nvim'
alias vim='nvim'
2022-12-28 09:28:37 +00:00
zstyle ':completion:*:*:docker:*' option-stacking yes
zstyle ':completion:*:*:docker-*:*' option-stacking yes