diff --git a/bash/.bashrc b/bash/.bashrc new file mode 100644 index 0000000..7ea4be2 --- /dev/null +++ b/bash/.bashrc @@ -0,0 +1,25 @@ +# /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. + +# added CDPATH +export CDPATH=".:~/git" + +# adds $HOME/bin to PATH +export PATH="$PATH:$HOME/bin" + diff --git a/bash/apply.sh b/bash/apply.sh new file mode 100755 index 0000000..5e63cd6 --- /dev/null +++ b/bash/apply.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +cp .bashrc ~/ \ No newline at end of file diff --git a/bash/clear.sh b/bash/clear.sh new file mode 100755 index 0000000..ba0451c --- /dev/null +++ b/bash/clear.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +rm -Rf ~/.bashrc \ No newline at end of file diff --git a/init_settings.sh b/init_settings.sh index 08380f3..1c97020 100755 --- a/init_settings.sh +++ b/init_settings.sh @@ -6,7 +6,7 @@ MY_DO_APPLY="1" MY_SYNCS="" if [ "$1" = "all" ];then - MY_SYNCS="common kde flash pulse astyle google-chrome mc" + MY_SYNCS="common kde flash pulse astyle google-chrome mc bash" MY_SYNCS="$MY_SYNCS git root gimp" else MY_SYNCS="$*"