Skip to content

Commit

Permalink
Can run bash instead of a vim binary
Browse files Browse the repository at this point in the history
Useful for getting in to inspect things.
  • Loading branch information
tweekmonster committed Feb 19, 2016
1 parent a7e1fe6 commit a870b18
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/run_vim.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
BIN=$1
shift

if [ "$BIN" == "bash" ]; then
exec /bin/bash
exit $?
fi

# Set default vimrc to a visible file
ARGS="-u /home/vimrc -i NONE"

Expand Down

0 comments on commit a870b18

Please sign in to comment.