Skip to content

Commit

Permalink
Re-fix units hang from b40c6 (got lost somewhere)
Browse files Browse the repository at this point in the history
  • Loading branch information
garyo committed May 2, 2024
1 parent 8a8f39f commit 8aa886f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -737,7 +737,7 @@ function gcproject_prompt {
}

if has_command units; then
command units -1 >& /dev/null
command units -1 < /dev/null >& /dev/null
if [[ $? -ne 0 ]]; then
# old version of units; alias to `gunits` (e.g. brew install gnu-units on mac)
alias units="gunits --verbose -1"
Expand Down

0 comments on commit 8aa886f

Please sign in to comment.