This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
commands=(git) | |
if [ -n "$URL_SHELL_EXEC" ];then | |
commands+=("$URL_SHELL_EXEC") | |
else | |
commands+=(curl) | |
fi; | |
has_commands=1 | |
for cmd in ${commands[@]};do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
homeshick_home_dir=${HOMESHICK_DIR:-$HOME/.homesick} | |
homeshick_repos_dir="$homeshick_home_dir/repos" | |
# In this setup main repo should not contain root /home directory | |
main_repo_uri="${DOT_FILES_REPO:-https://github.com/antontsv/.files.git}" | |
main_castle_name="${DOT_FILES_CASTLE_NAME:-main.files}" | |
main_castle_branch="${DOT_FILES_CASTLE_BRANCH:-master}" | |
main_castle_ignore_files="${DOT_FILES_IGNORE_FILES:-LICENSE,README.md,/.gitmodules}" | |
key_file="${DOT_FILES_REPO_PUB_PGP_KEY_FILE}" |
NewerOlder