mirror of
https://github.com/Xevion/dotfiles.git
synced 2026-01-31 06:24:13 -06:00
17 lines
412 B
Bash
Executable File
17 lines
412 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Update Fisher plugins
|
|
|
|
if ! command -v fish &> /dev/null; then
|
|
echo "[err] Fish shell not installed - skipping fisher update"
|
|
exit 0
|
|
fi
|
|
|
|
if ! fish -c "type -q fisher" &> /dev/null; then
|
|
echo "[err] Fisher not installed - skipping fisher update"
|
|
exit 0
|
|
fi
|
|
|
|
echo "Updating Fisher plugins..."
|
|
fish -c "fisher update" && echo "[ok] Fisher plugins updated" || echo "[err] Fisher update failed"
|