Some cleaning, adds bashrc for those who don't want / can't install zsh

This commit is contained in:
2019-05-03 10:00:51 +02:00
parent 085fff8534
commit 48ed262105
9 changed files with 114 additions and 33 deletions

16
bin/vim-recover Executable file
View File

@@ -0,0 +1,16 @@
#!/usr/bin/env bash
# Check recovery directory from vim
if [ -f $1 ]; then
echo >&2 Cannot recover an existing file...
return 1
fi
backup_path=~/.nvim/backups/`echo $PWD/$1 | tr '/' '%'`
if [ ! -f "$backup_path" ]; then
echo >&2 Backup not found...
return 2
fi
cp $backup_path $1