Improved defaults and local overrides

This commit is contained in:
Candifloss 2026-07-21 16:31:46 +05:30
parent fc5d4b1f28
commit e5edc67493
4 changed files with 30 additions and 13 deletions

5
.gitignore vendored
View File

@ -2,10 +2,11 @@
fish_variables
# Ignore machine-specific configs
conf.d/21_overrides.fish
conf.d/49_aliases_local.fish
conf.d/59_abbr_local.fish
conf.d/80_modules_local.fish
conf.d/90_local.fish
conf.d/90_misc_local.fish
conf.d/local.d/
functions/local/
completions/local/
@ -15,4 +16,4 @@ completions/alacritty.fish
completions/adu.fish
# Scratchpad
test/
test/

View File

@ -6,10 +6,13 @@
# To print the active prompt theme name:
# Use function `fish_theme`
# Set the theme name.
# Set the theme name in `conf.d/21_overrides.fish`.
# Example:
# set -g FISH_PROMPT_THEME minimaline
# Default: "default"
# The theme name must match the theme directory name.
set -g FISH_PROMPT_THEME default
set -q FISH_PROMPT_THEME
or set -g FISH_PROMPT_THEME default
# Load theme
fish_load_theme $FISH_PROMPT_THEME

View File

@ -1,13 +1,26 @@
# 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:
# ☑ apt
# ☑ dnf
# ☑ pacman
# ☐ zypper
# ☐ apk
# ☐ xbps
# +---+-----------------+---------------------+
# | | 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 -g FISH_PACKAGE_MANAGER apt
set -q FISH_PACKAGE_MANAGER
or set -g FISH_PACKAGE_MANAGER apt
fish_load_package_manager $FISH_PACKAGE_MANAGER

View File

@ -1,6 +1,6 @@
# Load enabled modules
# Specify the list of modules to load in `conf.d/80_modules_local.fish`
# Specify the list of modules to load in `conf.d/21_overrides.fish`
# Example:
# set -g FISH_MODULES \
# login_x11 \