mirror of
https://github.com/junegunn/fzf.git
synced 2025-11-19 09:03:43 -05:00
add fjrnl
14
Examples.md
14
Examples.md
@@ -12,6 +12,7 @@ Table of Contents
|
|||||||
* [With write to terminal capabilities](#with-write-to-terminal-capabilities)
|
* [With write to terminal capabilities](#with-write-to-terminal-capabilities)
|
||||||
* [Processes](#processes)
|
* [Processes](#processes)
|
||||||
* [Git](#git)
|
* [Git](#git)
|
||||||
|
* [JRNL](#jrnl)
|
||||||
* [Tags](#tags)
|
* [Tags](#tags)
|
||||||
* [tmux](#tmux)
|
* [tmux](#tmux)
|
||||||
* [ASDF](#asdf)
|
* [ASDF](#asdf)
|
||||||
@@ -502,6 +503,18 @@ Create a gitignore file from [gitignore.io](http://gitignore.io):
|
|||||||
|
|
||||||
https://gist.github.com/phha/cb4f4bb07519dc494609792fb918e167
|
https://gist.github.com/phha/cb4f4bb07519dc494609792fb918e167
|
||||||
|
|
||||||
|
### JRNL
|
||||||
|
|
||||||
|
Suggested by [@windisch](https://github.com/windisch). Only tested under zsh.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
# fjrnl - Search JRNL headlines
|
||||||
|
fjrnl() {
|
||||||
|
title=$(jrnl --short | fzf --tac --no-sort) &&
|
||||||
|
jrnl -on "$(echo $title | cut -c 1-16)" $1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
### Tags
|
### Tags
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
@@ -1068,4 +1081,3 @@ p () {
|
|||||||
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user