diff options
author | Mathias Bynens <mathias@qiwi.be> | 2011-12-29 11:15:37 +0100 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2011-12-29 11:15:37 +0100 |
commit | 46b82f742b382bcba44da734f454900a223891e2 (patch) | |
tree | 6bcaa782aaf57378993649a389622ba09b61218e /bootstrap.sh | |
parent | b3241b2a775b3c0521e2f34f3d6d3484959c131a (diff) | |
download | dotfiles-46b82f742b382bcba44da734f454900a223891e2.tar.gz dotfiles-46b82f742b382bcba44da734f454900a223891e2.tar.bz2 dotfiles-46b82f742b382bcba44da734f454900a223891e2.zip |
Create .vim/{backups,swaps,undo} directories if they don’t exist
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bootstrap.sh b/bootstrap.sh index d8d8e67..0d03922 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,4 +1,5 @@ #!/bin/bash +mkdir -p ~/.vim/{backups,swaps,undo} cd "$(dirname "$0")" git pull read -p "This may overwrite existing files in your home directory. Are you sure? (y/n) " -n 1 |