Coder Social home page Coder Social logo

fzf-notes's Introduction

fzf-notes's People

Contributors

alichtman avatar d5ve avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

d5ve

fzf-notes's Issues

Why did I write this in bash?

It should be written in a proper language so I could... like, maintain it.
I have no idea what I was thinking when I selected bash as my langauge of choice here.

Could probably rewrite this in Python in an hour or two maybe. Probably not worth the time investment.

Stray `CREATE_NEW_FILE` files created

This is probably the issue:

# Hook signals to clean up
trap cleanup INT TERM

function cleanup () {
	rm "$NEW_FILE_CREATION_OPTION"
}

That rm line doesn't account for the notebook directory, so it's just removing $BASE_PWD/CREATE_NEW_FILE, which isn't what we want to do.

yq: error: argument files: can't open 'notebooks'

fzf-notes giving following error :

usage: yq [-h] [--yaml-output] [--yaml-roundtrip] [--width WIDTH]
          [--indentless-lists] [--in-place] [--version]
          jq_filter [files [files ...]]
yq: error: argument files: can't open 'notebooks': [Errno 2] No such file or directory: 'notebooks'
ERROR: Invalid notebook name: .

yq version is : 2.10.1

Allow usage of multiple notebooks

Config file, following XDG spec, that allows you to define multiple notebooks, and a default.

CACHE_DIR="${XDG_CACHE_HOME:-$HOME/.cache}/$PROGRAM_NAME"
CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/$PROGRAM_NAME"

notes -s search_term or notes notebook search? idk

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.