Skip to content

Commit

Permalink
expand-path: check if echo-wait will fix no output failure
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Sep 1, 2023
1 parent 2baf666 commit 9ffbb39
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions commands/expand-path
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ function expand_path() (
# using zsh then bash, works around macos which has old bash, but new zsh
# so this is needed so setup-paths-commands can do its thing
if type -P zsh &>/dev/null; then
expand-path-zsh "$@" 2>/dev/null | echo-trim-empty-lines
expand-path-zsh "$@" 2>/dev/null | echo-wait | echo-trim-empty-lines
else
expand-path-bash "$@" 2>/dev/null | echo-trim-empty-lines
expand-path-bash "$@" 2>/dev/null | echo-wait | echo-trim-empty-lines
fi
)

Expand Down

0 comments on commit 9ffbb39

Please sign in to comment.