add a script to test vim before switching e v e r y t h i n g

pull/3/head
Brian Hicks 2019-08-22 13:49:47 -05:00
parent 3f28ac8039
commit 7ad63c6118
1 changed files with 5 additions and 0 deletions

5
test-vim.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
set -euo pipefail
make result
ROOT="$(grep -m 1 'home-manager-generation/activate' result/activate | cut -d ' ' -f 5 | xargs dirname)"
exec "$ROOT/home-path/bin/vim" $@