This repository has been archived by the owner on Apr 24, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Setup some test folders/repos in the VMs for easier testing
- Loading branch information
Showing
5 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
#!/usr/bin/zsh | ||
|
||
echo 'LANG=en_US.UTF-8' >! ~/.zshrc | ||
echo 'source /vagrant_data/powerlevel9k.zsh-theme' >> ~/.zshrc | ||
echo 'source /vagrant_data/powerlevel9k.zsh-theme' >> ~/.zshrc | ||
|
||
# setup environment | ||
/vagrant_data/test-vm-providers/setup-environment.sh |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
#!/usr/bin/zsh | ||
|
||
OLDPWD="$(pwd)" | ||
cd $HOME | ||
|
||
TESTFOLDER="${HOME}/p9k" | ||
mkdir -p $TESTFOLDER | ||
cd $TESTFOLDER | ||
|
||
# Make a deep test folder | ||
mkdir -p deep-folder/1/12/123/1234/12345/123456/1234567/123455678/123456789 | ||
|
||
# Make a git repo | ||
mkdir git-repo | ||
cd git-repo | ||
git config --global user.email "test@powerlevel9k.theme" | ||
git config --global user.name "Testing Tester" | ||
git init | ||
echo "TEST" >> testfile | ||
git add testfile | ||
git commit -m "Initial commit" | ||
cd $TESTFOLDER | ||
|
||
# Make a Mercurial repo | ||
mkdir hg-repo | ||
cd hg-repo | ||
export HGUSER="Test bot <bot@example.com>" | ||
hg init | ||
echo "TEST" >> testfile | ||
hg add testfile | ||
hg ci -m "Initial commit" | ||
cd $TESTFOLDER | ||
|
||
# Setup a SVN folder | ||
svnadmin create ~/.svn-repo | ||
mkdir svn-repo | ||
svn checkout "file://${HOME}/.svn-repo" "svn-repo" | ||
cd svn-repo | ||
echo "TEST" >> testfile | ||
svn add testfile | ||
svn commit -m "Initial commit" | ||
cd $TESTFOLDER | ||
|
||
cd $OLDPWD |
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
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
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