From a78f03da3416c07428591e181ceaafb4fa064fac Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Tue, 2 Feb 2021 19:54:35 +0000 Subject: [PATCH] chore(deps): install rclone with zinit instead of Homebrew --- Brewfile | 1 - zsh/rclone.zsh | 7 +++++++ zshrc | 1 + 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 zsh/rclone.zsh diff --git a/Brewfile b/Brewfile index 475c7f0..246bb70 100644 --- a/Brewfile +++ b/Brewfile @@ -47,7 +47,6 @@ brew 'node' brew 'pandoc' brew 'peco' brew 'pgformatter' -brew 'rclone' brew 'readline' brew 'redis' brew 'ripgrep' diff --git a/zsh/rclone.zsh b/zsh/rclone.zsh new file mode 100644 index 0000000..2fa0d20 --- /dev/null +++ b/zsh/rclone.zsh @@ -0,0 +1,7 @@ +# +# Rclone +# + +zinit ice wait lucid as'program' from'gh-r' mv'**/rclone -> rclone' \ + atclone'./rclone genautocomplete zsh - > _rclone' atpull'%atclone' +zinit light rclone/rclone diff --git a/zshrc b/zshrc index 796cda6..368d00a 100644 --- a/zshrc +++ b/zshrc @@ -109,6 +109,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then source "$DOTZSH/linux.zsh"; fi source "$DOTZSH/emacs.zsh" source "$DOTZSH/git.zsh" source "$DOTZSH/less.zsh" +source "$DOTZSH/rclone.zsh" source "$DOTZSH/tmux.zsh" source "$DOTZSH/vterm.zsh"