# >>> BIOSTAR_HANDBOOK_START # # A minimal BASH profile. # # ls uses different flags for colors on Mac and Linux if [ "$(uname)" == "Darwin" ]; then alias ls='ls -hG' else alias ls='ls -h --color=auto' fi # Safe versions of the default commands. # Will ask permissions before overwriting files. alias rm='rm -i' alias mv='mv -i' alias cp='cp -i' # Extend the program search PATH and add the ~/bin folder. export PATH=~/bin:$PATH # Makes the prompt more user friendly: colors, hostname, path, etc. # I do agree that it looks a bit crazy. export PS1='\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' # Necessary for the command line sort to work correctly. export LC_ALL=C # This is used on macOS to turn off zsh warning. export BASH_SILENCE_DEPRECATION_WARNING=1 # <<< BIOSTAR_HANDBOOK_END