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
#!/bin/zsh | |
#Inspired by https://github.com/lucasdemarchi/toolbox/blob/master/arch-installer.sh | |
set -e | |
write_file() { | |
local file=$1 | |
echo "- Writing $file" | |
cat >$file | |
} |
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
#!/bin/sh | |
#Some custom additions to git-stash.sh (Copyright (c) 2007, Nanako Shiraishi) | |
#when I am less lazy I should try to submit them upstream | |
#Additions: | |
# Commands: | |
# - dosave (save but don't reset the worktree) | |
# - popbranch (pop the stash like git stash branch does, git mystash branch does not pop the stash) | |
# - info (info on stash) |