config-update
Synopsis
Section titled “Synopsis”config-update [-h | --help] [-f | --force] [-n | --dry-run]Description
Section titled “Description”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
Section titled “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 |
Exit Status
Section titled “Exit Status”0 |
Config updated (or already up to date) |
1 |
Update failed (network error, merge conflict, or not a git repo) |
Example
Section titled “Example”config-updateconfig-update --dry-runconfig-update --forceDependencies: git