update dotfiles
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env fish
|
||||
|
||||
function _fish_ai_autocomplete --description "Autocomplete the current command using AI." --argument-names command cursor_position
|
||||
if test ("$_fish_ai_install_dir/bin/lookup_setting" "debug") = True
|
||||
set -f selected_completion ("$_fish_ai_install_dir/bin/autocomplete" "$command" "$cursor_position" | \
|
||||
string collect)
|
||||
else
|
||||
set -f selected_completion ("$_fish_ai_install_dir/bin/autocomplete" "$command" "$cursor_position" | \
|
||||
string collect 2> /dev/null)
|
||||
end
|
||||
printf '%s' "$selected_completion"
|
||||
end
|
||||
Reference in New Issue
Block a user