#!/bin/bash if ! grep "\blogo-ls\b" ~/.bashrc > /dev/null then { echo "# logo-ls"; echo "alias ls='logo-ls -D'"; echo "alias ll='ls -al'"; echo "alias l='ls'"; } | tee -a ~/.bashrc > /dev/null; fi;