Skip to content
프로젝트

소개

Daily notes command line tool

생산성 및 자동화

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

dn - Daily notes command line tool

dn is a simple command line tool to help keep notes on what you did every day and what's coming up.

Usage

dn writes a bullet-pointed string to a file with today's date in YYYY-MM-DD format in the ~/dn/ folder.

dno does the same, but the first argument is the filename. This can be used for future notes i.e. dno 2030-10-01 "I died".

dnt displays today's notes.

dnv displays all files, or when an argument like 2019-10 is passed, ~/dn/2019-10*.

dnte edit today's notes in vim.

dnoe edit a note in vim for a given date. i.e. dnoe 2019-11-02. If no date is passed i.e. dnoe then a file selection prompt appears in vim.

Example

$ dn "The same thing we do every night"

$ dnv
2019-11-01
 * Made dn
2019-11-02
 * The same thing we do every night


$ dnv 2019-11-02
2019-11-02
 * The same thing we do every night

$ dnt
2019-11-02
 * The same thing we do every night

$ dno 1977-10-28 "Saw star wars"

$ dnv
1977-10-28
 * Saw star wars
2019-11-01
 * Made dn
2019-11-02
 * The same thing we do every night

$ dnv 2019-11
2019-11-01
 * Made dn
2019-11-02
 * The same thing we do every night

If you want search, my recommendation is that you install a tool like ripgrep, which lists filenames and only echoes the relevant lines.

Setup

mkdir ~/dn

For bash: cat dn >> ~/.bashrc

For zsh: cat dn >> ~/.zshrc

Replace with the config file for your shell of choice!

관련 프로젝트 살펴보기

불러오는 중…