3

As the title states, how to reload aliases added in ~/.cshrc without rebooting FreeBSD 11.3?

2 Answers 2

5

You can just run logout and then log in again, no need for full reboot.

As an alternative, simply run csh inside existing shell.

1
  • ^D often works in unixes too :) Commented Apr 5, 2021 at 15:22
2

I think you should be able to just do source ~/.cshrc. Alternatively, you can just type the line adding alias directly into csh. (e.g. alias ll ls -l).

However, please note that these will only work for the shell which you source'd in, but not other parallel instances. In other words, you will need to do it in every shell you want to use the alias.

Hope this helps.

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.