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