diff options
author | Shane Freeder <[email protected]> | 2017-03-17 23:37:16 +0000 |
---|---|---|
committer | Shane Freeder <[email protected]> | 2017-03-17 23:44:58 +0000 |
commit | 1b70427dfc4ae6f59ad64e7a5d4434a85a3e3f1e (patch) | |
tree | eb2ae6d152c11f646f160894526f19933fc8d10d /paper | |
parent | fb0f8ba5181696c7fed0028338ff4e00284b6e3f (diff) | |
download | Paper-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-x | paper | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}}" |