Passaggio da antigen a antibody.
This commit is contained in:
parent
8ae0504092
commit
983d716373
11
prepare.sh
11
prepare.sh
@ -36,6 +36,17 @@ if [[ ! -f "$HOME/.zshrc" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
cp "${DOTFILES}/zshrc" "$HOME/.zshrc"
|
cp "${DOTFILES}/zshrc" "$HOME/.zshrc"
|
||||||
|
|
||||||
|
if [[ -f ${DOTFILES}/zsh/antibody_plugins.txt ]]; then
|
||||||
|
# Installing natively on archlinux, manjaro
|
||||||
|
if grep -i archlinux /proc/version || grep -i manjaro /proc/version; then
|
||||||
|
yay -S --no-confirm antibody-bin
|
||||||
|
else
|
||||||
|
curl -sfL git.io/antibody | sudo sh -s - -b /usr/local/bin
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p ~/.zsh/conf.d
|
||||||
|
antibody bundle < ${DOTFILES}/zsh/antibody_plugins.txt > ~/.zsh/conf.d/000_antibody.zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Copying tmux configuration file and initialize plugins.
|
# Copying tmux configuration file and initialize plugins.
|
||||||
|
14
zsh/antibody_plugins.txt
Normal file
14
zsh/antibody_plugins.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
ohmyzsh/ohmyzsh path:plugins/command-not-found
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/common-aliases
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/copyfile
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/fd
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/fzf
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/git
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/pip
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/python
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/rsync
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/sudo
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/systemadmin
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/systemd
|
||||||
|
ohmyzsh/ohmyzsh path:plugins/z
|
||||||
|
sunlei/zsh-ssh
|
19
zshrc
19
zshrc
@ -21,26 +21,9 @@ if [[ -f ${DOTFILES}/zsh/distro.base.zsh ]]; then
|
|||||||
source ${DOTFILES}/zsh/distro.base.zsh
|
source ${DOTFILES}/zsh/distro.base.zsh
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Antigen config
|
# Antigen config - if configuration file exists.
|
||||||
if [[ -f ${HOME}/.zsh/antigen.conf.zsh ]]; then
|
if [[ -f ${HOME}/.zsh/antigen.conf.zsh ]]; then
|
||||||
source ${HOME}/.zsh/antigen.conf.zsh
|
source ${HOME}/.zsh/antigen.conf.zsh
|
||||||
else
|
|
||||||
source ${DOTFILES}/zsh/antigen.zsh
|
|
||||||
antigen bundle command-not-found
|
|
||||||
antigen bundle common-aliases
|
|
||||||
antigen bundle copyfile
|
|
||||||
antigen bundle fd
|
|
||||||
antigen bundle fzf
|
|
||||||
antigen bundle git
|
|
||||||
antigen bundle pip
|
|
||||||
antigen bundle python
|
|
||||||
antigen bundle rsync
|
|
||||||
antigen bundle sudo
|
|
||||||
antigen bundle systemadmin
|
|
||||||
antigen bundle systemd
|
|
||||||
antigen bundle z
|
|
||||||
antigen bundle sunlei/zsh-ssh
|
|
||||||
antigen apply
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# configuring fzf plugin for tmux
|
# configuring fzf plugin for tmux
|
||||||
|
Loading…
Reference in New Issue
Block a user