Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bd not changing directorys as expected on ubuntu 19.04 #43

Open
rs-development opened this issue Nov 9, 2019 · 4 comments
Open

bd not changing directorys as expected on ubuntu 19.04 #43

rs-development opened this issue Nov 9, 2019 · 4 comments

Comments

@rs-development
Copy link

bd folder name does only echo the target directory but does not actually switch to it.

I am using ubuntu 19.10 and fish 3.0.2, the same problem does exist in bash. Is there something to make it change the directory instead of just printing the target directory?

@TimothyGu
Copy link

You have to do the following steps documented in the README:

echo 'alias bd=". bd -si"' >> ~/.bashrc
source ~/.bashrc

@NajwaLaabid
Copy link

It's not clear that these commands need to be run for ubuntu as well, since they're under 'Other OS' in the README. Would be cool if this step is stated more clearly.

@rautamiekka
Copy link

Yep, those instructions're unclear: I just went and got the DEB off Launchpad and it indeed has literally no scripts in it besides the program itself.

@balazser
Copy link

balazser commented Apr 7, 2021

@rs-development it is because you need to source it to make executed in the current shell. otherwise, it changes the directory still but in the subshell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants