Skip to content

Commit

Permalink
Add temporary hack whilst we are pending implementation of #36
Browse files Browse the repository at this point in the history
  • Loading branch information
frgomes committed May 3, 2020
1 parent 8798df0 commit 04a400d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,16 @@ done
[[ -x ~/.bashrc.scripts.after ]] && source ~/.bashrc.scripts.after


##FIXME: this is a temporary hack
if [[ -d ~/.bashrc-scripts/installed/ ]] ;then
for script in $(find ~/.bashrc-scripts/installed/ -type f | sort --reverse) ;do
chmod 755 $script
echo "activating $script"
source $script
done
fi


# define prompt
if [ -x /usr/bin/dircolors ]; then
export PS1='\[\033[01;31m\][$(date "+%Y-%m-%d %H:%M:%S")]\[\033[00m\]${debian_chroot:+($debian_chroot)}\[\033[01;32m\] \u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
Expand Down

0 comments on commit 04a400d

Please sign in to comment.