mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-29 14:23:09 +00:00
d1214edc7a
This function return wrong data. Fix this.
3 lines
237 B
Fish
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
|