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
| push-gerrit = "!bash -c ' \ | |
| local_ref=$(git symbolic-ref HEAD); \ | |
| local_name=${local_ref##refs/heads/}; \ | |
| remote=$(git config branch.\"$local_name\".remote || echo origin); \ | |
| remote_ref=$(git config branch.\"$local_name\".merge); \ | |
| remote_name=${remote_ref##refs/heads/}; \ | |
| remote_review_ref=\"refs/for/$remote_name\"; \ | |
| r=\"\"; \ | |
| if [[ $0 != \"\" && $0 != \"bash\" ]]; then r=\"--reviewer=$0\"; fi; \ | |
| if [[ $1 != \"\" ]]; then r=\"$r --reviewer=$1\"; fi; \ |
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
| " Smooth Scroll | |
| " | |
| " Remamps | |
| " <C-U> | |
| " <C-D> | |
| " <C-F> | |
| " <C-B> | |
| " | |
| " to allow smooth scrolling of the window. I find that quick changes of | |
| " context don't allow my eyes to follow the action properly. |
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
| #!/bin/bash | |
| set -e | |
| function cleanup { | |
| echo "Removing /tmp/foo" | |
| rm -r /tmp/foo | |
| } | |
| trap cleanup EXIT | |
| mkdir /tmp/foo | |
| asdffdsa #Fails |
NewerOlder