Fix antidote config
This commit is contained in:
22
zsh/.zsh_plugins.txt
Normal file
22
zsh/.zsh_plugins.txt
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
# Load OMZ plugins
|
||||||
|
ohmyzsh/ohmyzsh
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/git
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/golang
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/ssh-agent
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/pip
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/python
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/virtualenv
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/python
|
||||||
|
|
||||||
|
|
||||||
|
romkatv/powerlevel10k
|
||||||
|
zsh-users/zsh-syntax-highlighting
|
||||||
|
zsh-users/zsh-autosuggestions
|
||||||
|
zsh-users/zsh-completions
|
||||||
|
zsh-users/zsh-history-substring-search
|
||||||
|
urbainvaes/fzf-marks
|
||||||
|
greymd/docker-zsh-completion
|
||||||
|
zdharma-continuum/fast-syntax-highlighting kind:defer
|
||||||
|
|
||||||
|
# Initialize completions
|
||||||
|
belak/zsh-utils path:completion
|
||||||
15
zsh/.zshrc
15
zsh/.zshrc
@@ -12,11 +12,9 @@ export PATH="$HOME/.local/bin:$PATH"
|
|||||||
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
|
[[ -f /usr/share/doc/find-the-command/ftc.zsh ]] && source /usr/share/doc/find-the-command/ftc.zsh
|
||||||
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
|
[[ -f ~/.zsh/.local_config ]] && source ~/.zsh/.local_config
|
||||||
|
|
||||||
setopt interactivecomments
|
# Load Antidote
|
||||||
setopt HIST_IGNORE_SPACE
|
static_file=${ZDOTDIR:-~}/.cache/.zsh_plugins.zsh
|
||||||
# Clear screen by ctrl+q
|
plugins_txt=${ZDOTDIR:-~}/.zsh/.zsh_plugins.txt
|
||||||
bindkey '^q' clear-screen
|
|
||||||
# Load Antigen
|
|
||||||
# clone antidote if necessary
|
# clone antidote if necessary
|
||||||
if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then
|
if ! [[ -e ${ZDOTDIR:-~}/.antidote ]]; then
|
||||||
git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
|
git clone https://github.com/mattmc3/antidote.git ${ZDOTDIR:-~}/.antidote
|
||||||
@@ -24,7 +22,12 @@ fi
|
|||||||
|
|
||||||
# source antidote and load plugins from `${ZDOTDIR:-~}/.zsh_plugins.txt`
|
# source antidote and load plugins from `${ZDOTDIR:-~}/.zsh_plugins.txt`
|
||||||
source ${ZDOTDIR:-~}/.antidote/antidote.zsh
|
source ${ZDOTDIR:-~}/.antidote/antidote.zsh
|
||||||
antidote load
|
antidote load ${plugins_txt} ${static_file}
|
||||||
|
|
||||||
|
setopt interactivecomments
|
||||||
|
setopt HIST_IGNORE_SPACE
|
||||||
|
# Clear screen by ctrl+q
|
||||||
|
bindkey '^q' clear-screen
|
||||||
|
|
||||||
alias vim=nvim
|
alias vim=nvim
|
||||||
alias sudo='sudo '
|
alias sudo='sudo '
|
||||||
|
|||||||
Reference in New Issue
Block a user