Create folder before linking
This commit is contained in:
parent
e9332485a9
commit
810f4cc385
1 changed files with 2 additions and 1 deletions
|
|
@ -20,11 +20,12 @@ function user_config {
|
|||
apt-get install -y curl
|
||||
fi
|
||||
|
||||
curl -fLo ~/.vim/autoload/plug.vim --create-dirs \
|
||||
curl -fLo /home/$SUDO_USER/.vim/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
|
||||
|
||||
# Create symlinks
|
||||
get_path
|
||||
mkdir /home/$SUDO_USER/.vim
|
||||
echo 'Creating systemlinks'
|
||||
ln -s $SCRIPTPATH/vim/.vimrc /home/$SUDO_USER/;
|
||||
ln -s $SCRIPTPATH/tmux/.tmux.conf /home/$SUDO_USER/;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue