Skip to content

Instantly share code, notes, and snippets.

@theonewolf
Created June 11, 2013 20:17
Show Gist options
  • Select an option

  • Save theonewolf/5760233 to your computer and use it in GitHub Desktop.

Select an option

Save theonewolf/5760233 to your computer and use it in GitHub Desktop.
#kept in .config/fish/functions/scratch.fish
function scratch
set scratch_file (mktemp)
vim $scratch_file
cat $scratch_file
set -e scratch_file
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment