ln now mv
parent
d96bb7e1c8
commit
81942f47f6
6
init.sh
6
init.sh
|
@ -6,7 +6,6 @@ OIFS="$IFS"
|
|||
IFS=$'\n'
|
||||
|
||||
MV="mv"
|
||||
LN="ln"
|
||||
|
||||
[[ -d ~/apt_stuff ]] || mkdir ~/apt_stuff
|
||||
|
||||
|
@ -24,14 +23,13 @@ for file in $(
|
|||
ls -1 |
|
||||
egrep -vi \(init\|license\|readme\|git\)
|
||||
); do
|
||||
${LN} "$file" "~/.cyber_bin/$file"
|
||||
${MV} "$file" "~/.cyber_bin/$file"
|
||||
done
|
||||
|
||||
[[ ! -f ~/.bashrc ]] && ${LN} ~/.bash_profile ~/.bashrc
|
||||
|
||||
# push changes made to PATH
|
||||
hash -r
|
||||
source ~/.bash_profile
|
||||
bash dostuff.sh
|
||||
|
||||
# reset internal field separator
|
||||
IFS="$OIFS"
|
Loading…
Reference in New Issue