quickly generate, delete, copy, execute any command
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
workflow
.command_table.json
.gitignore
LICENSE
README.md
info.plist
quick command.alfredworkflow
quick_command.py
template.py

README.md

alfred-workflow-quick-command

Quickly generate, delete, copy, execute any command

Usage

Copy command

Type qccopy to select any command you need, then the command is copied to clipboard

Run command directly

Type qcrun to select any command, then run in terminal

Add new command

Type qcadd to add new command in format key,command,description

Delete some command

Type qcdel to select and delete some command

Mannualy modify command

open .command_table.json to modify any command

Command table example

{
    "ss on": {
        "command": "export http_proxy=socks5://127.0.0.1:1080 && export http_proxys=socks5://127.0.0.1:1080 && source ~/.bash_profile", 
        "desc": "Turn on shadowsocks json"
    }
}
  • key = "ss on"
  • command = "export http_proxy=socks5://127.0.0.1:1080 && export http_proxys=socks5://127.0.0.1:1080 && source ~/.bash_profile"
  • sdescription = "Turn on shadowsocks json"