The binary files can be downloaded on Release.
mkdir PATH\TO\INSTALLDIR
cd PATH\TO\INSTALLDIR
unzip PATH\TO\DOWNLOADDIR\nyagos-****.zip
makeicon.cmd
copy .nyagos "%USERPROFILE%\."
notepad "%USERPROFILE%\.nyagos"
And please customize %USERPROFILE%\.nyagos
.nyagos
is the configuration file written with Lua.
(Be careful that the filename starts with .
(dot)
If you want to do SET PATH="%PATH%;C:\BIN
,
write this in %USERPROFILE%\.nyagos
nyagos.env.path = nyagos.env.path .. ";C:\\bin"
If you want to use lala
as ls -al
:
nyagos.alias.lala = 'ls -al $*'
You can use macros $1
..$9
and joined string macro $*
.
You can use the same function defined by Lua for alias:
nyagos.alias.lala = function(args)
nyagos.exec{ "ls","-al", unpack(args) }
end