Commit Diff


commit - 0a1e65f7e768bbf05cd2d0084148af1ef15e37af
commit + a6cd6375fdc1b61341191340114857d232f29ba6
blob - 9957a0d2c8ce0f7892719f9ce1377a28041b8bb8
blob + a6af30d9f0d2074e4d81b87c1f1ca9cdf757e05c
--- kshrc.lp
+++ kshrc.lp
@@ -237,21 +237,15 @@ shell client to upload an encrypted message
 		unset url baseurl vals paste key iv
 	}
 
-lf is also nice.  It's possible to use it to cd too!
+llama 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
+	ll() {
+		cd "$(llama "$@")"
 	}
 
 For extra-comfyness bind it to C-o
 
-	bind -m '^O=^U lfcd^M^Y'
+	bind -m '^O=^U ll^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