Browse Source

fix setup.sh 'appends' step

aurora
Noah Hall 1 year ago
parent
commit
d1799927c4
2 changed files with 5 additions and 5 deletions
  1. +3
    -1
      .bashrc
  2. +2
    -4
      setup.sh

.add_to.bashrc → .bashrc View File

@ -1,5 +1,5 @@
# begin .bashrc addons from dotfiles.git
# handy snippets from dotfiles/.add_to.bashrc
source ~/.git-completion
alias vim='vim -w ~/.vimlog'
alias vsplit='vim -O'
@ -7,3 +7,5 @@ alias vsplit='vim -O'
export PS1='[\u@MEMORABLE-NAME \W]\$ '
export PATH=$PATH:~/scripts
export CDPATH=.:~:~/projects
# end .bashrc addons from dotfiles.git

+ 2
- 4
setup.sh View File

@ -33,11 +33,9 @@ for i in ${clones[@]}; do
git clone http://github.com/${i}
done
cd /home/${DEST}
appends=(.add_to.bashrc)
appends=(.bashrc)
for i in ${appends[@]}; do
fname=`cut -d \. -f 2`
cat ${i} >> ${fname}
cat ${i} >> /home/${DEST}/${}
done
exit 0

Loading…
Cancel
Save