From 2f9c685562798e3e1a29b2b9d84340218fd455b7 Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 11 Nov 2016 23:27:52 +0000 Subject: [PATCH] updatedb --- etc/profile.d/mac.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/profile.d/mac.sh b/etc/profile.d/mac.sh index 78828f8a..927dd7a6 100644 --- a/etc/profile.d/mac.sh +++ b/etc/profile.d/mac.sh @@ -15,7 +15,7 @@ case "$OSTYPE" in darwin*) [ -x /Applications/iTunes.app/Contents/MacOS/iTunes ] && alias iTunes=/Applications/iTunes.app/Contents/MacOS/iTunes [ -x /Applications/VLC.app/Contents/MacOS/VLC ] && alias vlc=/Applications/VLC.app/Contents/MacOS/VLC alias strace='dtruss' -alias updatedb='sudo bash -c "cd / && /usr/libexec/locate.updatedb"' +alias updatedb='sudo sh -c "cd / && exec /usr/libexec/locate.updatedb"' alias seq='jot -' -- 2.47.3