dotfiles_fish_server/conf.d/35_package_manager.fish

26 lines
918 B
Fish

# Package manager
#
# Set the package manager name in `conf.d/21_overrides.fish`.
# Example:
# set -g FISH_PACKAGE_MANAGER dnf
# Default: "apt"
# The theme name must match the theme directory name.
#
# Supported:
# +---+-----------------+---------------------+
# | | Package Manager | OS |
# +---+-----------------+---------------------+
# | ☑ | apt | (Debian-based) |
# | ☑ | dnf | (RHEL/Fedora-based) |
# | ☑ | pacman | (Arch-based) |
# | ☐ | zypper | (SUSE) |
# | ☐ | apk | (Alpine) |
# | ☐ | xbps | (Void) |
# | ☐ | pkg_bsd | (FreeBSD) |
# | ☐ | pkg_redox | (RedoxOS) |
# +---+-----------------+---------------------+
set -q FISH_PACKAGE_MANAGER
or set -g FISH_PACKAGE_MANAGER apt
fish_load_package_manager $FISH_PACKAGE_MANAGER