Bash profile functions