aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2017-03-17 23:37:16 +0000
committerShane Freeder <[email protected]>2017-03-17 23:44:58 +0000
commit1b70427dfc4ae6f59ad64e7a5d4434a85a3e3f1e (patch)
treeeb2ae6d152c11f646f160894526f19933fc8d10d /paper
parentfb0f8ba5181696c7fed0028338ff4e00284b6e3f (diff)
downloadPaper-1b70427dfc4ae6f59ad64e7a5d4434a85a3e3f1e.tar.gz
Paper-1b70427dfc4ae6f59ad64e7a5d4434a85a3e3f1e.zip
fix shell match to account for /usr/local for homebrew installs of zsh on macOS
Diffstat (limited to 'paper')
-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}}"