explain some steps
This commit is contained in:
parent
7960995a50
commit
2d11d55ed4
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
ledger="${1:-$LEDGER_FILE}"
|
ledger="${1:-$LEDGER_FILE}"
|
||||||
|
|
||||||
|
# fuzzy select a transaction title
|
||||||
selection="$(sed -n 's/....-..-..\( [*!]\)\? //p' "$ledger" | sort | uniq | fzf)"
|
selection="$(sed -n 's/....-..-..\( [*!]\)\? //p' "$ledger" | sort | uniq | fzf)"
|
||||||
[ -z "$selection" ] && clear && exit 0 # quit if escaped
|
[ -z "$selection" ] && clear && exit 0 # quit if escaped
|
||||||
|
|
||||||
@ -26,5 +27,7 @@ x
|
|||||||
wq
|
wq
|
||||||
HERE
|
HERE
|
||||||
|
|
||||||
|
# review change: open end of the file in vis
|
||||||
vis +\$ "$ledger"
|
vis +\$ "$ledger"
|
||||||
|
|
||||||
clear
|
clear
|
||||||
|
Loading…
Reference in New Issue
Block a user