Replace ls with find in the howto function
[khome.git] / lib / login_functions.sh
index c4dcb53..ec040cb 100644 (file)
@@ -43,7 +43,7 @@ hump() {
 }
 
 howto() {
-    cat $(ls -1 -d  $HOME/Archives/Documents/HOWTOs/* | fzf)
+    cat "$(find  ~/Archives/Documents/HOWTOs -mindepth 1 -maxdepth 1 | sort | fzf)"
 }
 
 gh_fetch_repos() {
This page took 0.027709 seconds and 4 git commands to generate.