Skip to content

Instantly share code, notes, and snippets.

@kalbasit
Created January 3, 2012 05:01
Show Gist options
  • Select an option

  • Save kalbasit/1553566 to your computer and use it in GitHub Desktop.

Select an option

Save kalbasit/1553566 to your computer and use it in GitHub Desktop.
diff -Naur a/usr/local/bin/mvim b/usr/local/bin/mvim
--- a/usr/local/bin/mvim 2012-01-03 05:58:39.000000000 +0100
+++ b/usr/local/bin/mvim 2012-01-03 06:00:07.000000000 +0100
@@ -57,6 +57,10 @@
;;
esac
+# Unset GEM_HOME and GEM_PATH
+unset GEM_HOME
+unset GEM_PATH
+
# Last step: fire up vim.
# The program should fork by default when started in GUI mode, but it does
# not; we work around this when this script is invoked as "gvim" or "rgview"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment