From 1ea051baa697b51055d102a5f5ab51342ed21afb Mon Sep 17 00:00:00 2001 From: James Dugan Date: Sat, 26 Apr 2025 14:19:08 -0600 Subject: [PATCH] Update hilbish config --- .config/hilbish/init.lua | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.config/hilbish/init.lua b/.config/hilbish/init.lua index b583fbc..c6f723c 100755 --- a/.config/hilbish/init.lua +++ b/.config/hilbish/init.lua @@ -20,8 +20,8 @@ hilbish.appendPath('/opt/local/bin') --local hinter = require('.hinter') local syntax = require('.syntax') -local fish_completer = require('.fish_completer') ---local carapace_completer = require('.carapace') +--local fish_completer = require('.fish_completer') +local carapace_completer = require('.carapace') local starship = require('.starship') require('homebrew') @@ -54,12 +54,15 @@ hilbish.aliases.add('lla', 'exa --long --all') hilbish.aliases.add('lt', 'exa --icons --tree') hilbish.aliases.add('lta', 'exa --icons --tree --all') +hilbish.aliases.add('mnt', 'udisksctl mount -b') +hilbish.aliases.add('umnt', 'udisksctl unmount -b') + -- dotfile management hilbish.aliases.add('dotfiles', 'git --git-dir=' .. home_dir .. '/workspace/dippin-dotfiles/ --work-tree=' .. home_dir .. '/') -- Other environment variables -os.setenv("KAKOUNE_POSIX_SHELL", "/bin/dash") +os.setenv("KAKOUNE_POSIX_SHELL", "/usr/bin/dash") os.setenv("CARAPACE_BRIDGES", "zsh,fish,bash,inshellisense") -- Syntax highlighting @@ -73,5 +76,5 @@ end --end -- Completers -hilbish.complete('command.git', fish_completer.fish_completer) -hilbish.complete('command.pacman', fish_completer.fish_completer) +hilbish.complete('command.git', carapace_completer.complete_func) +hilbish.complete('command.pacman', carapace_completer.complete_func)