• Wincent
    Menu
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search

Snippet #626

Created 9/8/2010, updated 5/18/2017
  • bash
  • snippets

I want to get in the habit of using Bash history expansion more. For example, vim some/long/path/to/a/file followed by git add !$ to stage the file.

← Snippet #627
Snippet #625 →

All snippets

Site
  • About
  • Blog
  • Wiki
  • Snippets
  • Tags
  • Search
External
  • GitHub
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
Colophon

Made by Greg Hurrell with Rust (with help from Git and Neovim).