This file contains hidden or 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 | |
| set -eu | |
| quit() { | |
| echo "$@" | |
| exit 1 | |
| } | |
| if [ $# -lt 2 ]; then |
This file contains hidden or 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 | |
| set -eux | |
| # execute using curl "https://gist.githubusercontent.com/leonmydla/79fc157529ad3f430f5ec02bc975a2cf/raw" | bash | |
| sudo apt install -y git curl zsh | |
| mkdir -p $HOME/.local/lib | |
| mkdir -p $HOME/.local/lib |
This file contains hidden or 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 | |
| # This file should contain a list of remotes to clone. | |
| # Every remote is put in a single line | |
| # The file has to end on an empty line | |
| repo_file=".repos-to-clone" | |
| if ! [[ -f $repo_file ]]; then | |
| echo "$repo_file file doesn't exist" | |
| exit 1 |
This file contains hidden or 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 | |
| set -e | |
| function usage() { | |
| printf "$0 <git-repo|path-in-git-repo>\n" | |
| exit 1 | |
| } | |
| if [[ $# -lt 1 ]]; then |