]> git.phdru.name Git - dotfiles.git/commitdiff
Add vim.sh
authorOleg Broytman <phd@phdru.name>
Sun, 12 Jun 2016 12:00:32 +0000 (15:00 +0300)
committerOleg Broytman <phd@phdru.name>
Sun, 12 Jun 2016 12:00:32 +0000 (15:00 +0300)
This simple script starts vim with any file even if the filename begins
with a minus/dash.

.vim/vim.sh [new file with mode: 0755]

diff --git a/.vim/vim.sh b/.vim/vim.sh
new file mode 100755 (executable)
index 0000000..12537e9
--- /dev/null
@@ -0,0 +1,2 @@
+#! /bin/sh
+exec vim -- "$@"