Fixed redir snippet for bash