mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 13:46:41 +00:00
feat: install jq via zinit if it is not already available
This commit is contained in:
8
zsh/jq.zsh
Normal file
8
zsh/jq.zsh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#
|
||||||
|
# jq
|
||||||
|
#
|
||||||
|
|
||||||
|
if ! command-exists jq; then
|
||||||
|
zinit light-mode wait lucid from'gh-r' as'program' mv'jq* -> jq' \
|
||||||
|
for @stedolan/jq
|
||||||
|
fi
|
||||||
1
zshrc
1
zshrc
@@ -114,6 +114,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then source "$DOTZSH/linux.zsh"; fi
|
|||||||
# Utils
|
# Utils
|
||||||
source "$DOTZSH/emacs.zsh"
|
source "$DOTZSH/emacs.zsh"
|
||||||
source "$DOTZSH/fzf.zsh"
|
source "$DOTZSH/fzf.zsh"
|
||||||
|
source "$DOTZSH/jq.zsh"
|
||||||
source "$DOTZSH/less.zsh"
|
source "$DOTZSH/less.zsh"
|
||||||
source "$DOTZSH/rclone.zsh"
|
source "$DOTZSH/rclone.zsh"
|
||||||
source "$DOTZSH/tmux.zsh"
|
source "$DOTZSH/tmux.zsh"
|
||||||
|
|||||||
Reference in New Issue
Block a user