prompt + alias

This commit is contained in:
♥ Minnie ♥ 2023-04-20 00:24:54 +08:00
parent f1f43bcd7c
commit 7962d7bf93

View file

@ -5,7 +5,7 @@ local ansikit = require 'ansikit'
local function doPrompt(fail)
hilbish.prompt(lunacolors.format(
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. ' '
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. '{red}♥ '
))
end
@ -27,10 +27,16 @@ end)
-- Aliases
hilbish.alias('c', 'clear')
hilbish.alias('hm', 'cd ~/')
hilbish.alias('tp', 'trash-put')
hilbish.alias('ud', 'cd ..')
hilbish.alias('la', 'ls -a')
hilbish.alias('ll', 'ls -l')
hilbish.alias('hm', 'cd ~/')
hilbish.alias('ud', 'cd ..')
-- wezterm
hilbish.alias('tt', 'wezterm cli set-tab-title ')
-- nixos
hilbish.alias('uh', 'home-manager switch --flake .#sajenim@fuchsia')
hilbish.alias('us', 'sudo nixos-rebuild switch --flake .#fuchsia')
-- keymap directories
hilbish.alias('crkbd', 'cd ~/keyboards/qmk_keymaps/keyboards/crkbd/keymaps/sajenim/')
hilbish.alias('kchrn', 'cd ~/keyboards/qmk_keymaps/keyboards/keychron/q4/ansi_v2/keymaps/sajenim/')