Giter Club home page Giter Club logo

nyagos's Introduction

Build status GoDoc Go Report Card Github latest Releases

The Nihongo Yet Another GOing Shell

<English> / <Japanese>

NYAGOS is the commandline-shell written with the Programming Language GO and Lua.

demo-animation

There are some shells in Windows compatible with ones in UNIX. Most of them do not support Windows's traditional PATH-style like X:\DIR\FILE.EXT that many applications require as arguments.

So, I created a new shell like below:

  • UNIX-Like Shell
    • Keybinding
      • Features are bound to keys like Bash on default
      • Customized like
        • nyagos.key.c_u = "KILL_WHOLE_LINE" on %USERPROFILE%\.nyagos (Lua)
      • A lua-functions can be bound to a key like
        • nyagos.key.escape = function(this) nyagos.exec("start vim.exe") end
    • History (Ctrl-P and !-mark)
    • Alias
      • like DOSKEY
        • nyagos.alias["g++"]="g++.exe -std=gnu++17 $*"
      • ones implemented by Lua functions
        • nyagos.alias["lala"]=function(args) nyagos.exec("ls","-al",unpack(args)) end
    • Custom completions
            nyagos.complete_for["go"] = function(args)
                if #args == 2 then
                    return {
                        "bug","doc","fmt","install","run","version",
                        "build","env","generate","list","test","vet",
                        "clean","fix","get","mod","tool" }
                else
                    return nil -- files completion
                end
            end
  • Shell that follows the Windows' style like CMD.EXE
    • Windows' path format C:\path\to\file are able to be used.
    • Each drive has its own current directory.
    • copy,move and some dos-like built-in commands work.
    • No additional DLL are required.
    • Registry are not used.
  • Color command-line
  • Support Unicode. Windows unicode APIs are used.
    • Can paste unicode character on clipboard and edit them.
    • Unicode-literal %U+XXXX%
    • Prompt Macro $Uxxxx
  • Built-in ls
    • color support (-o option)
    • print hard-link,symbolic-link and junction's target-path
  • Support Japanese input method editor: SKK (Simple Kana Kanji conversion program) - How To Setup
  • Support OS:
    • Windows 7, 8.1, 10, 11, WindowsServer 2008 or later
    • Linux (experimental)

Install

Download Binary

Use "Scoop installer"

C:> scoop install nyagos

Use "Chocolatey installer"

C:> choco install nyagos

Contents

Release note

4.4.x / 4.3.x / 4.2.x / 4.1.x / 4.0.x

Documents

  1. Install
  2. Option for NYAGOS
  3. Editor
  4. Built-in commands
  5. What is done on the Startup
  6. Substitution
  7. Lua functions extenteded by NYAGOS
  8. Uninstall
  9. How To build
  10. How to setup SKK (since v4.4.14)

License

You can use, copy and modify under the New BSD License.

Acknowledgement

nocd5 / mattn / hattya / shiena / atotto / ironsand / kardianos / malys / pine613 / NSP-0123456 / hokorobi / amuramatsu / spiegel-im-spiegel / rururutan / hogewest / cagechi / Matsuyanagi / Shougo / orthographic-pedant / HABATA Katsuyuki / hisomura / tsuyoshicho / rane-hs / hami-jp / 3bch / AoiMoe / DeaR / gracix / orz-- / zkangaroo / maskedw / tyochiai / masamitsu-murase / hazychill / erw7 / tignear / crile / fushihara / ChiyosukeF / beepcap / tostos5963 / sambatriste / terepanda / Takmg / nu8 / tomato3713 / tGqmJHoJKqgK / juggler999 / zztkm / 8exBCYJi5ATL / ousttrue / kgasawa / HAYASHI-Masayuki

Author

nyagos's People

Contributors

hymkor avatar tsuyoshicho avatar hattya avatar masamitsu-murase avatar erw7 avatar zztkm avatar mattn avatar nocd5 avatar tomato3713 avatar tyochiai avatar dear avatar pine avatar hami-jp avatar hogewest avatar ousttrue avatar matsuyanagi avatar hayashi-masayuki avatar orthographic-pedant avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.