-
-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switched the preview generation from SVG to using an actual shell
- Loading branch information
Showing
3 changed files
with
41 additions
and
638 deletions.
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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/sh | ||
|
||
FLAGS="-modules cwd,git,root" | ||
|
||
mkdir -p /tmp/home/code/dotfiles; | ||
cd /tmp/home/code/dotfiles/; | ||
git init; | ||
touch file1; | ||
git add .; | ||
git commit -m "commit"; | ||
touch file2; | ||
|
||
mkdir -p /tmp/home/deep/down/into/the/abyss/of/directories/where/no/one/ever/comes/; | ||
cd /tmp/home/deep/down/into/the/abyss/of/directories/where/no/one/ever/comes/; | ||
git init; | ||
touch file1; | ||
git add .; | ||
git commit -m "commit"; | ||
|
||
export HOME=/tmp/home/ | ||
|
||
clear; | ||
|
||
cd /tmp/home/code/dotfiles/; | ||
powerline-go -shell bare $FLAGS; | ||
echo git branch; | ||
git branch; | ||
|
||
powerline-go -shell bare $FLAGS; | ||
echo badcmd; | ||
echo "bash: badcmd: command not found"; | ||
|
||
powerline-go -shell bare $FLAGS -error 1; | ||
echo "cd ~/deep/down/into/the/abyss/of/directories/where/no/one/ever/comes/"; | ||
cd /tmp/home/deep/down/into/the/abyss/of/directories/where/no/one/ever/comes/; | ||
|
||
powerline-go -shell bare $FLAGS; | ||
|
||
rm -rf /tmp/home; | ||
|
||
echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo;echo; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.