Skip to content

Commit 582d1d8

Browse files
committedMar 16, 2025
.
1 parent 4ba53b7 commit 582d1d8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
 

‎fish/alias-and-functions.fish

+9
Original file line numberDiff line numberDiff line change
@@ -1149,3 +1149,12 @@ function mc --description "go build and install a binary"
11491149
end
11501150
echo "$binary_name installed"
11511151
end
1152+
1153+
1154+
function fn --description "Find directories matching a pattern and exclude node_modules"
1155+
if test (count $argv) -eq 0
1156+
echo "Error: Please provide a search pattern"
1157+
return 1
1158+
end
1159+
fd -td $argv[1] -E node_modules
1160+
end

0 commit comments

Comments
 (0)
Failed to load comments.