1 |
Hi, |
2 |
|
3 |
often I have this scenario: |
4 |
I miss an application/script, a setting or something like that. |
5 |
To apply the modifikation I becom root from the shell I was using as user. |
6 |
I modificate/install or whatever change is needed... |
7 |
I CTRL-D back to my user shell. |
8 |
|
9 |
Now I have to do a "rehash" (I am using zsh) to make the change |
10 |
visible/accessible. Sometimes I forget that. |
11 |
|
12 |
So...is it possible to auto-execute a "rehash" or whatever is needed, |
13 |
when the user is comeing back from his alternate life as root? |
14 |
|
15 |
Thanks a lot for any help in advance! |
16 |
Cheers! |
17 |
Meino |