diff --git a/zsh/jq.zsh b/zsh/jq.zsh new file mode 100644 index 0000000..6d17e8d --- /dev/null +++ b/zsh/jq.zsh @@ -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 diff --git a/zshrc b/zshrc index 318deeb..bb59260 100644 --- a/zshrc +++ b/zshrc @@ -114,6 +114,7 @@ if [[ "$OSTYPE" == "linux"* ]]; then source "$DOTZSH/linux.zsh"; fi # Utils source "$DOTZSH/emacs.zsh" source "$DOTZSH/fzf.zsh" +source "$DOTZSH/jq.zsh" source "$DOTZSH/less.zsh" source "$DOTZSH/rclone.zsh" source "$DOTZSH/tmux.zsh"