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

12 lines
299 B
Plaintext
Raw Normal View History

2020-11-06 22:12:33 -06:00
#!/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"