Check operating system and based on that check, pick flags for df and ls commands.  Pick a text editor based on that check.  Create aliases for [e,f]grep, if necessary, based on that check.