From 1f534289213484f25d21dc6b7697ed0574b737c7 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Wed, 25 Oct 2017 13:12:57 -0400 Subject: [PATCH] Create .bashrc.backup --- ChromeOS/bashrc/.bashrc.backup | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ChromeOS/bashrc/.bashrc.backup diff --git a/ChromeOS/bashrc/.bashrc.backup b/ChromeOS/bashrc/.bashrc.backup new file mode 100644 index 0000000..0d33ef5 --- /dev/null +++ b/ChromeOS/bashrc/.bashrc.backup @@ -0,0 +1,18 @@ +# /etc/skel/.bashrc +# +# This file is sourced by all *interactive* bash shells on startup, +# including some apparently interactive shells such as scp and rcp +# that can't tolerate any output. So make sure this doesn't display +# anything or bad things will happen ! + + +# 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 + + +# Put your fun stuff here.