commit - 183ad6e26b300900c84f7bb18b3597079245134b
commit + 7b7cd64a9b08fd1c675e1c13e6463b7f5828479d
blob - 543b5fda806b67d15f4c52816116a75fe3523944
blob + 9957a0d2c8ce0f7892719f9ce1377a28041b8bb8
--- kshrc.lp
+++ kshrc.lp
"${baseurl}/${paste}" | openssl enc -aes-256-cbc \
-base64 -d -K ${key} -iv ${iv}
unset url baseurl vals paste key iv
+ }
+
+lf is also nice. It's possible to use it to cd too!
+
+ lfcd() {
+ local dir
+ local tmp="$(mktemp)"
+ lf -last-dir-path="$tmp" "$@"
+ if dir="$(cat -- "$tmp")"; then
+ rm -f -- "$tmp"
+ cd "$dir"
+ fi
}
+For extra-comfyness bind it to C-o
+
+ bind -m '^O=^U lfcd^M^Y'
+
find(1) is an invaluable tool and I use it all the time. walk is an
attempt to build a wrapper around some common usages of find that is a
little bit less verbose to use. The name is stolen from 9front, but the