This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/bin/source_if_exists
2020-01-17 03:02:53 -06:00

5 lines
60 B
Bash
Executable file

#!/usr/bin/env sh
f="$1"; shift
[ -f "$f" ] && . "$f" "$@"