zoukankan      html  css  js  c++  java
  • windows cmd: 增强windows命令行

    1. 安装clink插件使得windows cmd.exe更好用

       https://github.com/mridgers/clink/releases

     

    Overview:

    Clink combines the native Windows shell cmd.exe with the powerful command line editing features of the GNU Readline library, which provides rich completion, history, and line-editing capabilities. Readline is best known for its use in the well-known Unix shell Bash, the standard shell for Mac OS X and many Linux distributions.

    Features

      • The same line editing as Bash (from GNU's Readline library).
      • History persistence between sessions.
      • Context sensitive completion;
        • Executables (and aliases).
        • Directory commands.
        • Environment variables
        • Thirdparty tools; Git, Mercurial, SVN, Go, and P4.
      • New keyboard shortcuts;
        • Paste from clipboard (Ctrl-V).
        • Incremental history search (Ctrl-R/Ctrl-S).
        • Powerful completion (TAB).
        • Undo (Ctrl-Z).
        • Automatic "cd .." (Ctrl-PgUp).
        • Environment variable expansion (Ctrl-Alt-E).
        • (press Alt-H for many more...)
      • Scriptable completion with Lua.
      • Coloured and scriptable prompt.
      • Auto-answering of the "Terminate batch job?" prompt.

    Usage

    There are a variety of ways to start Clink;

      1. If you installed the auto-run, just start cmd.exe. Run clink autorun --help for more info.
      2. To manually start, run the Clink shortcut from the Start menu (or the clink.bat located in the install directory).
      3. To establish Clink to an existing cmd.exe process, use "<install_dir>clink.exe inject"

     

  • 相关阅读:
    蠢货之对闭包表的扩展
    蠢货之TaskCompletionSource 带事件的同步调用
    SQLSERVER新建存储过程模板
    缓存更新
    写给”源码爱好者“
    区块链-一个不神秘却总能骗人的东西
    graceful-upgrades-in-go
    谁也逃不过C++
    Go的问题
    面试
  • 原文地址:https://www.cnblogs.com/mylinux/p/5684117.html
Copyright © 2011-2022 走看看