Commit 52605060 authored by Dylan's avatar Dylan

Shorten if statement

parent 2787c1b6
...@@ -1564,10 +1564,8 @@ getbirthday () { ...@@ -1564,10 +1564,8 @@ getbirthday () {
birthday=${birthday%:*} birthday=${birthday%:*}
# Pretty output # Pretty output
if [ "$birthday_shorthand" == "off" ]; then [ "$birthday_shorthand" == "off" ] && \
birthday="$date_cmd" birthday="${date_cmd/ / }"
birthday=${birthday/ / }
fi
# Toggle showing the time # Toggle showing the time
[ "$birthday_time" == "off" ] && \ [ "$birthday_time" == "off" ] && \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment