From 07b169ec32ad6961ed8625a0b932a663abcb01d2 Mon Sep 17 00:00:00 2001 From: Filippo Valsorda Date: Sun, 19 Apr 2020 18:55:05 -0400 Subject: platform/darwin: don't invoke brew for the default prefix "brew --prefix gnu-getopt" takes 2.125s on my very default setup (I don't even want to know why), dominating the pass wall time. If the default brew prefix is in use, just detect the getopt binary with a cheap "test -x" instead. --- src/platform/darwin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/platform') diff --git a/src/platform/darwin.sh b/src/platform/darwin.sh index 1222040..f6cc471 100644 --- a/src/platform/darwin.sh +++ b/src/platform/darwin.sh @@ -39,6 +39,6 @@ qrcode() { fi } -GETOPT="$(brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" +GETOPT="$({ test -x /usr/local/opt/gnu-getopt/bin/getopt && echo /usr/local/opt/gnu-getopt; } || brew --prefix gnu-getopt 2>/dev/null || { which port &>/dev/null && echo /opt/local; } || echo /usr/local)/bin/getopt" SHRED="srm -f -z" BASE64="openssl base64" -- cgit v1.2.3-70-g09d2 summaryrefslogtreecommitdiff
path: root/.vim/autoload/omni/cpp/settings.vim (unfollow)
Commit message (Expand)AuthorFilesLines
2011-11-21Added support for jedit.René Neumann2-4/+11
2011-11-16Make 'hg k' work similar to 'git k'René 'Necoro' Neumann1-0/+3
2011-10-14'tabgroup' -> 'tabgroups'René 'Necoro' Neumann1-1/+1
2011-10-14Switch from openoffice alias to libreoffice (ooffice -> soffice)René 'Necoro' Neumann1-2/+2
2011-10-14Make the quotes in ProofGeneral to be nearly invisibleRené Neumann1-1/+1
2011-08-23Disable hightlighting of the domain in the FF urlbarRené Neumann1-0/+3
2011-08-12Enhance IE scriptRené Neumann1-6/+7
2011-08-11BlaRené 'Necoro' Neumann1-0/+2
2011-08-11Local fontsRené 'Necoro' Neumann1-13/+22
2011-08-11Better inconsolata thingsRené Neumann4-4/+13
2011-08-10Moved some functions to their own filesRené Neumann3-124/+120
2011-08-10More advanced IE scriptRené Neumann2-1/+74
2011-08-10Inconsolata also in emacsRené Neumann1-1/+1
2011-08-10Better vim fontsRené 'Necoro' Neumann1-1/+1
2011-08-09ooffice aliasRené Neumann1-0/+2
2011-08-09Update the needed hg-extensions.René Neumann1-1/+2
2011-06-08gtkrc stuff for Qt-Gtk-StyleRené 'Necoro' Neumann2-0/+8
2011-06-08Updated fonts.conf to work better on lcdsRené 'Necoro' Neumann1-17/+6