mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 23:24:21 +08:00
d1214edc7a
This function return wrong data. Fix this.
4 lines
237 B
Fish
4 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
|