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/host/laptop/third/bin/work-mode
2021-03-06 22:16:54 -06:00

11 lines
299 B
Fish
Executable file

#!/usr/bin/env fish
if not test "$_" = exec
echo 'Run with `exec`'
exit 1
end
set -l work_conf_dir $ENV_PATH/.hidden/fish.d/postmates
test -d $work_conf_dir || \
git clone git@github.com:lytedev/postmates.git $work_conf_dir
fish --interactive --init-command "source $work_conf_dir/config.fish"