Skip to content

Instantly share code, notes, and snippets.

View ibrasho's full-sized avatar
📭
Un-contained

Ibrahim AshShohail ibrasho

📭
Un-contained
View GitHub Profile
@ibrasho
ibrasho / bundler-exec.fish
Last active January 6, 2021 19:22 — forked from glv/bundler-exec.fish
Automatically prepend "bundle exec" when appropriate (in fish shell).
# This sets up fish so that, if you type a command that should be
# run using Bundler, it first automatically prepends "bundle exec"
# to the command line buffer before executing it. Works for all
# commands found in the "bin" directory of the current bundle.
#
# To override this behavior and run such a command without Bundler,
# prefix with "command" (e.g., `command rake -T`)
#
# Pros (vs binstubs or aliases):
# * automatically adjusts to bundle changes
/*
|--------------------------------------------------------------------------
| Delete form macro
|--------------------------------------------------------------------------
|
| This macro creates a form with only a submit button.
| We'll use it to generate forms that will post to a certain url with
| the DELETE method, following REST principles.
|
*/