fish-shell/share/functions/__fish_print_pacman_repos.fish
Akatsuki d1214edc7a functions/__fish_print_pacman_repos.fish: fix
This function return wrong data.
Fix this.
2019-10-26 18:11:29 +02:00

3 lines
237 B
Fish

function __fish_print_pacman_repos --description "Print the repositories configured for arch's pacman package manager"
string match -er "\[.*\]" </etc/pacman.conf | string match -r -v "^#|options" | string replace -ra "\[|\]" ""
end