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

how can i add dune as a default shell? (sorry, are questions allowed?) #79

Open
akirapink opened this issue Feb 8, 2022 · 1 comment

Comments

@akirapink
Copy link

hey, i've been meaning to do so for a while, but i haven't gotten around to it
how can i add dune as a default shell? online guides say whatever shells are installed should have an entry in /etc/shells but dune's installed to my /home directory!! (i think)
it's in /home/.cargo/bin and it works fine, would copying it as root to /bin and/or /usr/bin, then adding an entry for it to /etc/shells work?

@TheBearodactyl
Copy link

sudo -i
ln -sf ~/.cargo/bin/dunesh /bin/dunesh
echo "/bin/dunesh" >> /etc/shells
echo "/usr/bin/dunesh" >> /etc/shells
chsh -s dunesh yourusername

Replace vim with your favorite text editor and yourusername with your username!

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

2 participants