dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b81bf808c7fee14957e47fc33e746b1cc7a94fe7
parent a8effcc11747ad3e78e51f63d25bcf6021079da7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 14 Mar 2019 15:04:25 +0100

Use fffs for zsh plugins

Diffstat:
Mlinks/.zshrc | 22++++------------------
1 file changed, 4 insertions(+), 18 deletions(-)

diff --git a/links/.zshrc b/links/.zshrc @@ -196,25 +196,11 @@ zle -N zle-keymap-select #### PLUGINS - -if [ -f "$HOME/.zgen/zgen.zsh" ]; then - source "${HOME}/.zgen/zgen.zsh" +if [ -f "$HOME/.config/fffs/lib/zsh/sources" ]; then + . "$HOME/.config/fffs/lib/zsh/sources" else - git clone https://github.com/tarjoilija/zgen.git "${HOME}/.zgen" - source "${HOME}/.zgen/zgen.zsh" -fi -if ! zgen saved; then -echo "Creating a zgen save" - - # plugins - zgen load zsh-users/zsh-autosuggestions - zgen load zsh-users/zsh-completions src - zgen load zsh-users/zsh-syntax-highlighting - zgen load zsh-users/zsh-history-substring-search - zgen load junegunn/fzf - - # save all to init script - zgen save + fffs zsh init + . "$HOME/.config/fffs/lib/zsh/sources" fi #### EXTRA COMMANDS