Skip to content

Commit

Permalink
Replace curl with httpie
Browse files Browse the repository at this point in the history
  • Loading branch information
wizawu committed Jun 25, 2023
1 parent dc4d8b7 commit f701a32
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dotfiles/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,9 @@ alias fish='fish -P'
alias gl='git log --pretty=format:"%Cblue%<(22,trunc)%cd %Cgreen%h%Creset %s %Cred@%an" --date=iso8601'
alias grep='grep --color'
alias ip4='ip -4 -br'
alias isp='curl -s http://ip-api.com/json | jq'
alias isp='http -b http://ip-api.com/json'
alias jdump='bash -c "set -x; jmap -dump:format=b,file=\$0.dump \$0"'
alias jqi='bash -c "cat <<< \$(jq \$0 \$1) > \$1"'
alias jurl='curl -s -H Content-type:application/json'
alias la='ls -A'
alias lh='ls -lh'
alias ll='ls -l'
Expand Down
1 change: 1 addition & 0 deletions install.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,7 @@
- name: check built-in tools
shell: command -v {{item}}
with_items:
- curl
- getconf
- ipcs
- losetup
Expand Down
1 change: 0 additions & 1 deletion tasks/command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
- cmake
- cmatrix
- cpulimit
- curl
- dconf-cli
- di
- docker-ce
Expand Down
2 changes: 1 addition & 1 deletion tasks/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- ansible==2.9.9
- black==20.8b1
- docker==4.2.1
- httpie==2.4.0
- httpie==3.2.*
- isort==5.7.0
- mycli==1.24.1
- wheel==0.36.2
Expand Down

0 comments on commit f701a32

Please sign in to comment.