Skip to content

Commit

Permalink
enable to manage nvim with aqua
Browse files Browse the repository at this point in the history
  • Loading branch information
cappyzawa committed Oct 25, 2023
1 parent 2e8d8e2 commit 8241567
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
2 changes: 2 additions & 0 deletions .config/aqua/aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ packages:
- name: jqlang/[email protected]
- name: kubernetes/[email protected]
- name: kubernetes-sigs/kustomize@kustomize/v5.2.1
- name: neovim/neovim@nightly
registry: custom
30 changes: 30 additions & 0 deletions .config/aqua/registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,33 @@ packages:
repo_name: tfswitch
asset: 'tfswitch_{{trimV .Version}}_{{.OS}}_{{.Arch}}.tar.gz'
description: tfswitch is a command line tool to switch between different versions of terraform.
- type: github_release
repo_owner: neovim
repo_name: neovim
description: Hyperextensible Vim-based text editor
supported_envs:
- darwin
- linux
- amd64
replacements:
windows: win64
linux: linux64
darwin: macos
asset: nvim-{{.OS}}.{{.Format}}
format: tar.gz
files:
- name: nvim
src: nvim-{{.OS}}/bin/nvim
overrides:
- goos: windows
format: zip
version_constraint: semver(">= 0.7.2")
version_overrides:
- version_constraint: "true"
overrides:
- goos: windows
format: zip
# - goos: darwin
# files:
# - name: nvim
# src: nvim-osx64/bin/nvim
12 changes: 0 additions & 12 deletions .zsh/zinit_wait.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ zinit snippet $HOME/.zsh/80_custom.zsh
# }}}

# utils {{{
# neovim/neovim {{{
zinit ice wait"1" lucid as"program" pick"nvim*/bin/nvim" from:"gh-r" \
if'is_mac' \
bpick"nvim-macos.tar.gz" ver"nightly"
zinit light neovim/neovim
# }}}
# b4b4r07/enhancd {{{
zinit ice wait pick"init.sh" lucid \
atload'export ENHANCD_FILTER="fzf --height 50% --reverse --ansi";export ENHANCD_DOT_SHOW_FULLPATH=1' \
Expand Down Expand Up @@ -50,12 +44,6 @@ zinit ice wait lucid as"program" from"gh-r" \
pick"ripgrep-*/rg"
zinit light BurntSushi/ripgrep
# }}}
# stedolan/jq {{{
zinit ice wait"1" as"program" from"gh-r" lucid \
mv"jq-* -> jq" pick"jq" \
atload"alias -g JQ='| jq -C .' && alias -g JL='| jq -C . | less -R -X'"
zinit light stedolan/jq
# }}}
# jonas/tig {{{
zinit ice wait"1" as"program" lucid \
make"install prefix=$ZPFX" pick"$ZPFX/bin/tig"
Expand Down

0 comments on commit 8241567

Please sign in to comment.