From: Nicolas Boisselier Date: Fri, 11 Nov 2016 23:27:52 +0000 (+0000) Subject: updatedb X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=2f9c685562798e3e1a29b2b9d84340218fd455b7;p=nb.git updatedb --- 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 -'