prompt + alias
This commit is contained in:
parent
f1f43bcd7c
commit
7962d7bf93
|
@ -5,7 +5,7 @@ local ansikit = require 'ansikit'
|
||||||
|
|
||||||
local function doPrompt(fail)
|
local function doPrompt(fail)
|
||||||
hilbish.prompt(lunacolors.format(
|
hilbish.prompt(lunacolors.format(
|
||||||
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. '∆ '
|
'{blue}%u {cyan}%d ' .. (fail and '{red}' or '{green}') .. '{red}♥ '
|
||||||
))
|
))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -26,11 +26,17 @@ bait.catch('hilbish.vimMode', function(mode)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
-- Aliases
|
-- Aliases
|
||||||
hilbish.alias('c', 'clear')
|
hilbish.alias('c', 'clear')
|
||||||
hilbish.alias('hm', 'cd ~/')
|
|
||||||
hilbish.alias('tp', 'trash-put')
|
hilbish.alias('tp', 'trash-put')
|
||||||
hilbish.alias('ud', 'cd ..')
|
|
||||||
hilbish.alias('la', 'ls -a')
|
hilbish.alias('la', 'ls -a')
|
||||||
hilbish.alias('ll', 'ls -l')
|
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('uh', 'home-manager switch --flake .#sajenim@fuchsia')
|
||||||
hilbish.alias('us', 'sudo nixos-rebuild switch --flake .#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/')
|
||||||
|
|
Loading…
Reference in a new issue