aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorZach <[email protected]>2017-03-17 20:29:42 -0500
committerGitHub <[email protected]>2017-03-17 20:29:42 -0500
commita30343c85e435c6b873f4f5f698b9cf813a8f201 (patch)
treeeb2ae6d152c11f646f160894526f19933fc8d10d
parentfb0f8ba5181696c7fed0028338ff4e00284b6e3f (diff)
parent1b70427dfc4ae6f59ad64e7a5d4434a85a3e3f1e (diff)
downloadPaper-a30343c85e435c6b873f4f5f698b9cf813a8f201.tar.gz
Paper-a30343c85e435c6b873f4f5f698b9cf813a8f201.zip
Merge pull request #636 from electronicboy/paper-maczsh
paper tools - fix shell matching
-rwxr-xr-xpaper2
1 files changed, 1 insertions, 1 deletions
diff --git a/paper b/paper
index 7f5820c722..d453a6f8e6 100755
--- a/paper
+++ b/paper
@@ -1,7 +1,7 @@
#!/usr/bin/env bash
# resolve shell-specifics
-case "$(echo "$SHELL" | sed 's|/usr||g')" in
+case "$(echo "$SHELL" | sed -E 's|/usr(/local)?||g')" in
"/bin/zsh")
RCPATH="$HOME/.zshrc"
SOURCE="${BASH_SOURCE[0]:-${(%):-%N}}"