Skip to content

config-update

Usage
config-update [-h | --help] [-f | --force] [-n | --dry-run]

Pulls the latest fish shell configuration from the upstream repository into ~/.config/fish. Git output is suppressed; status is reported through colored messages. After a successful pull the function prints a short summary of changed files; run exec fish to reload the shell.

Arguments:

-h, --help Show this help message and exit
-f, --force Stash local changes before pulling, then pop the stash
-n, --dry-run Check for upstream changes without applying them

Returns:

0 Config updated (or already up to date)
1 Update failed (network error, merge conflict, or not a git repo)
Examples
config-update
config-update --dry-run
config-update --force