#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
alias grep='grep --color=auto'
PS1='[\u@\h \W]\$ '
. "$HOME/.cargo/env"

alias ???='fortune | cowsay'

run_C() {
   	cc -Wall -Wextra -O2 -x c -o /tmp/runcnow - &&
   	echo -e "\n attempting to compile & run it now:\n"
	/tmp/runcnow
}

run_C++(){
	c++ -Wall -Wextra -O2 -x c++ -o /tmp/runcppnow - &&
	echo -e "\n attemtping to compile & run it now:\n"
	/tmp/runcppnow
}
