Commit 35b6f22b by Fred Smith

snippet manager

parent e7b8c48d
#! /usr/bin/env bash
cd ~/Documents/snips
SNIPPETFILE=$((for FILE in *; do echo "$FILE:: $(head -n 1 "$FILE")"; done) | fzf -d '::' | sed -e 's/::.*//')
cat "$SNIPPETFILE" | xclip -selection clipboard
sleep .5
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment