Skip to content

Latest commit

 

History

History
81 lines (52 loc) · 3.04 KB

README.md

File metadata and controls

81 lines (52 loc) · 3.04 KB

Build status codecov

clink-completions

Completion files to clink util

使用筆記

  1. 先安裝 Clink 軟體

    choco install clink -y
  2. 取得本專案原始碼

    git clone https://github.com/doggy8088/clink-completions.git
    cd clink-completions
  3. 以系統管理員身分執行 install.bat

    install.bat
  4. 如果你手動修改 %ProgramFiles(x86)%\clink\0.4.9 目錄下的 *.lua 檔案

    你可以按下 Ctrl-Q 重新載入所有的 Lua 命令檔!

  5. 常用快速鍵

    • Ctrl-PgUp - 可以自動執行 cd .. 回上一層
    • Ctrl-Z - 輸入命令文字支援 Undo 功能
    • Ctrl-D - 退出 Command Prompt
    • Ctrl-W - 刪除一個字
    • Alt-H - 顯示所有快速鍵組合
    • Ctrl-Q - 重新載入 clink 的 Lua scripts

相關連結

Notes

Master branch of this repo contains all available completions. If you lack some functionality, post a feature request.

Some of completion generators in this bundle uses features from latest clink distribuition. If you get an error messages in console while using these completions, consider upgrading clink to latest version.

If this doesn't help, feel free to submit an issue.

Development and contribution

The new flow is single master branch for all more or less valuable changes. The master should be clean and show nice history of project. The bugfixes are made and land directly into master.

The dev branch is intended to be used as a staging branch for current or incompleted work. The dev branch is unstable and contributors and users should never rely on it since its history can overwritten at the moment, some commits may be squashed, etc.

The feature development should be done in separate branch per feature. The completed features then should be merged into master as a single commit with meaningful description.

The PRs should be submitted from corresponding feature branches directly to master.

Requirements

These completions requires [email protected] or higher version

Test

You will need busted package to be installed locally (to lua_modules directory). To install it using Luarocks call luarocks install --tree=lua_modules busted. You might also want to install luacov to get the coverage information.

After installing call test.bat from repo root and watch tests passing. That's it.