#!/bin/bash # shellcheck disable=2164 function fixture_dotfiles() { local git_username="Homeshick user" local git_useremail="homeshick@example.com" local dotfiles="$REPO_FIXTURES/dotfiles" git init "$dotfiles" cd "$dotfiles" git config user.name "$git_username" git config user.email "$git_useremail" mkdir home cd home mkdir -p .config/foo.conf cat > .config/foo.conf/a.conf < .config/bar.dir < .ssh/known_hosts < "$st3_settings/Preferences.sublime-settings" < autoload/pathogen.vim < bundles/vim-git/README.md < /dev/null