updates to bash settings

This commit is contained in:
2014-01-16 10:51:23 -06:00
parent 1f56067261
commit af4cfb07d4
3 changed files with 12 additions and 0 deletions

View File

@@ -1,3 +1,12 @@
# Test for an interactive shell. There is no need to set anything
# past this point for scp and rcp, and it's important to refrain from
# outputting anything in those cases.
if [[ $- != *i* ]] ; then
# Shell is non-interactive. Be done now!
return
fi
# came from Aaron Lasseigne (AaronLasseigne on GitHub)
battery_status()
{