My personal Fish setup.
Clone this repository to ~/.config/dada-fish
or symlink it there.
Append this command to ~/.config/fish/config.fish
to run it on startup:
echo "if status is-interactive; source ~/.config/dada-fish/src/main.fish; end" >> ~/.config/fish/config.fish
If running on a server, set the following environment variable before loading:
set -gx DADA_FISH_ENV "server"
To use the backup commands, set a backup base directory. Backups are created in a directory named after your machine's hostname.
set -gx DADA_BACKUP_MACHINE_BASE "/path/to/backups"
- Fish Shell
- Setting Fish as the default shell on macOS (stackoverflow.com)
MIT license