From: Simon Ruderich Date: Tue, 8 Oct 2013 14:29:42 +0000 (+0200) Subject: setup.sh: Use sed_i(). X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=699bd48c0f9bc65df70d1fbe73d2b24afc4333f7;p=config%2Fdotfiles.git setup.sh: Use sed_i(). --- diff --git a/setup.sh b/setup.sh index 1d807bc..ae38f0f 100755 --- a/setup.sh +++ b/setup.sh @@ -26,8 +26,7 @@ set -e generate cat mutt/display .in if mutt -v | grep sidebar >/dev/null 2>&1; then echo 'mutt/display: enabling mutt sidebar settings' - sed 's/^#set sidebar_/set sidebar_/' mutt/display > mutt/display.tmp - mv mutt/display.tmp mutt/display + sed_i 's/^#set sidebar_/set sidebar_/' mutt/display fi # Link setup.