You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

9 lines
301 B

export ORIGINAL_PATH=$PATH
export ORIGINAL_PS1=$PS1
export PATH=$(dirname $BASH_SOURCE):$PATH
export PS1="\[$(tput setaf 2)\]_euler-gerbil_\[$(tput sgr0)\]\u@\h:\w$ "
euler_exit () {
export PATH=$ORIGINAL_PATH
export PS1=$ORIGINAL_PS1
echo -e "\n\nExiting euler problems environment...\n\n\nBye!\n"
}