fd ignoring .bashrc ? #1672
-
found out why fd isn't finding files in dot/hidden directories - in .bashrc: what am i screwing up here? |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
How are you invoking |
Beta Was this translation helpful? Give feedback.
-
i'm using it from a prompt example file: if i
for ref. ...
|
Beta Was this translation helpful? Give feedback.
-
...and there's the problem - yes, i was using sudo to avoid the avalanche of 'permission denied' messages - i thought the problem happened without sudo as well, but i just tested again and fd works as expected i might add the alias to root's bashrc to avoid this issue in the future thank you for your help and patience :) |
Beta Was this translation helpful? Give feedback.
-
hmmm... that doesn't work - no files are found if i use sudo from my user acct., but if i switch to root (su), only then does fd work as expected obviously this isn't an fd issue, but i expected that adding ... |
Beta Was this translation helpful? Give feedback.
Your use of
# fd ...
suggests that you're running the second command as root. Are you? Because root won't use your user's aliases, and they won't get picked up bysudo
either