aboutsummaryrefslogtreecommitdiffhomepage
path: root/paper
diff options
context:
space:
mode:
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}}"