An open API service indexing awesome lists of open source software.

https://github.com/litencatt/croxy

Curl commands history management ruby script.
https://github.com/litencatt/croxy

curl ruby script

Last synced: about 2 months ago
JSON representation

Curl commands history management ruby script.

Awesome Lists containing this project

README

          

## Usage

### Setup
```rb
$ ./setup

#=> copy croxy to /usr/loca/bin
```

### Run
```
$ croxy http://localhost:3000

#=> create ~/.croxy_history and save executed curl commands
```

### Use with peco
```
# ~/.zshrc
function croxy-peco () {
local selected_command=$(croxy -l | peco)
if [ -n "$selected_command" ]; then
BUFFER="croxy ${selected_command}"
zle accept-line
fi
zle clear-screen
}
zle -N croxy-peco
bindkey "^@" croxy-peco
```