convert to vim9
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
# A simple wrapper around `zk list` to select & view a note
|
||||
zkbat() {
|
||||
filename=$(zk list "$@" --interactive -f jsonl | jq -r .absPath )
|
||||
filename=$(zk list "$@" --interactive -q -f jsonl | jq -r .absPath )
|
||||
bat $filename
|
||||
echo $filename >&2
|
||||
}
|
||||
|
||||
|
||||
6
zsh/.local/share/zsh/functions/zkv
Normal file
6
zsh/.local/share/zsh/functions/zkv
Normal file
@@ -0,0 +1,6 @@
|
||||
# A simple wrapper around `zk list` to select & view a note
|
||||
zkv() {
|
||||
filename=$(zk list "$@" --interactive -q -f jsonl | jq -r .absPath )
|
||||
less $filename
|
||||
echo $filename >&2
|
||||
}
|
||||
Reference in New Issue
Block a user