diff --git a/cd.sh b/cd.sh index ccc0d49..ca22d36 100644 --- a/cd.sh +++ b/cd.sh @@ -380,9 +380,7 @@ cd_write () { local file="${1}" local text="${2}" if [ "${file}" ] ; then - echo -n "${text}" \ - > "${file}" \ - || exit + echo -n "${text}" > "${file}" || exit cd_cat "${file}" fi }