mirror of https://github.com/Hilbis/Hilbish
chore: order ansikit and make import global
parent
646a138dcd
commit
c04a27b48c
|
@ -3,6 +3,7 @@ package.path = package.path .. ';./libs/?/init.lua;/usr/share/hilbish/libs/?/ini
|
||||||
|
|
||||||
fs = require 'fs'
|
fs = require 'fs'
|
||||||
commander = require 'commander'
|
commander = require 'commander'
|
||||||
|
ansikit = require 'ansikit'
|
||||||
|
|
||||||
commander.register("cd", function (path)
|
commander.register("cd", function (path)
|
||||||
if path then
|
if path then
|
||||||
|
@ -10,8 +11,6 @@ commander.register("cd", function (path)
|
||||||
end
|
end
|
||||||
end)
|
end)
|
||||||
|
|
||||||
local ansikit = require 'ansikit'
|
|
||||||
|
|
||||||
prompt(ansikit.text('λ {bold}{cyan}'..os.getenv('USER')..' >{magenta}>{cyan}>{reset} '))
|
prompt(ansikit.text('λ {bold}{cyan}'..os.getenv('USER')..' >{magenta}>{cyan}>{reset} '))
|
||||||
|
|
||||||
--hook("tab complete", function ())
|
--hook("tab complete", function ())
|
||||||
|
|
Loading…
Reference in New Issue