Changing directories with fd #1495
Replies: 3 comments 2 replies
-
Basically. Changing directories is something thay has to be done by the shell, so it can't be done directly by fd. You need fd to output the result and capture it then pass it to cd. What you have is the somplest way to do that. |
Beta Was this translation helpful? Give feedback.
-
You might be interested in fuzzy-finders like https://github.com/junegunn/fzf |
Beta Was this translation helpful? Give feedback.
-
Hey there, I'm using Below is all the Manually, I can do it something like this: If $ fd kustomization.yaml
config/certmanager/kustomization.yaml
config/crd/kustomization.yaml
config/default/kustomization.yaml
config/manager/kustomization.yaml
config/rbac/kustomization.yaml
config/webhook/kustomization.yaml
hack/observability/kustomization.yaml Here's what I've tried but I was not able to achieve it. fd kustomization.yaml --exec-batch 'cd {//}; kustomize edit fix --vars {//}' My thought process behind this was that it will |
Beta Was this translation helpful? Give feedback.
-
I found out I can change directories with fd like this:
Is this the only way? Or there are other alternatives?
Beta Was this translation helpful? Give feedback.
All reactions