Skip to content

Instantly share code, notes, and snippets.

View lelahx's full-sized avatar
Pushing electrons

Lélahel lelahx

Pushing electrons
View GitHub Profile
@lelahx
lelahx / fish-shell-bash-complete-function.sh
Created November 15, 2024 12:02 — forked from 3v1n0/fish-shell-bash-complete-function.sh
Use bash completions in Fish Shell
#!/usr/bin/fish
# You can add this to your ~/.config/fish/config.fish
function __fish_complete_bash
set cmd (commandline -cp)
bash -c "source get-bash-completions.sh; get_completions '$cmd'"
end
# Set the tool to use bash completions