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
diff --git a/Library/Formula/zsh.rb b/Library/Formula/zsh.rb | |
index e7e67a5..4dff75e 100644 | |
--- a/Library/Formula/zsh.rb | |
+++ b/Library/Formula/zsh.rb | |
@@ -5,8 +5,11 @@ class Zsh < Formula | |
mirror "http://www.zsh.org/pub/zsh-5.0.8.tar.bz2" | |
sha256 "8079cf08cb8beff22f84b56bd72bb6e6962ff4718d816f3d83a633b4c9e17d23" | |
+ head "https://github.com/zsh-users/zsh.git" | |
+ |
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
#!/usr/bin/env zsh | |
BRANCH=$1 | |
BRANCHES=(master pure-nitro pure-nitro2) | |
BENCHDIR=benchmark | |
ROUNDS=100 | |
if [[ ! -n $BRANCH ]]; then | |
[[ ! -d $BENCHDIR ]] && mkdir $BENCHDIR | |
for i in $BRANCHES; do |
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
#!/usr/bin/env zsh | |
test1() { | |
test_var=$1 | |
} | |
test2() { | |
print -n $1 | |
} |
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
# Detect and open sublime-project files in the provided path, if no parameters | |
# are provided, open the $PWD. If the parameter is not a directory, call subl | |
# normally. | |
_subl() { | |
local params="$*" | |
local project | |
if test -z "$params"; then | |
params=. | |
fi |
NewerOlder