commit 8ebd3e85b0782370fcf6babc9502195b9d831fdb parent 280c5f44ea996583ed8bd97d4aa61aaaa83ea6e3 Author: Daniel Moch <daniel@danielmoch.com> Date: Thu, 18 Jan 2018 07:08:50 -0500 Minor my-init tweak Diffstat:
M | .local/bin/my-init | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/.local/bin/my-init b/.local/bin/my-init @@ -55,8 +55,14 @@ then lesskey fi +if __has "crontab" +then + echo " Installing crontab" + cat "$HOME/.config/cron/crontab" | crontab - +fi + # Vim plugins -if __has "git" && [ ! -d "$vim_bundle_path" ] +if __has "vim" "git" && [ ! -d "$vim_bundle_path" ] then echo " Downloading Vim plugins" # Plugins that should always be enabled @@ -95,9 +101,4 @@ then chmod 000 "$HOME/._.djmoch" fi -if __has "crontab" -then - cat "$HOME/.config/cron/crontab" | crontab - -fi - unset __clone __has