Skip to content

Commit

Permalink
Added bash support
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Vala authored and Martin Vala committed May 10, 2012
1 parent 3bfdb3d commit 9d1667d
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 1 deletion.
25 changes: 25 additions & 0 deletions bash/.bashrc
Original file line number Diff line number Diff line change
@@ -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"

3 changes: 3 additions & 0 deletions bash/apply.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

cp .bashrc ~/
3 changes: 3 additions & 0 deletions bash/clear.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/bash

rm -Rf ~/.bashrc
2 changes: 1 addition & 1 deletion init_settings.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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="$*"
Expand Down

0 comments on commit 9d1667d

Please sign in to comment.