Lines 1-16
Link Here
|
1 |
You want your shell stuff to work the same way even when you use a |
1 |
You want your shell stuff to work the same way even when you use a |
2 |
different shell, or even a different box. Right? |
2 |
different shell, or even a different box. Right? |
3 |
|
3 |
|
4 |
If you use poshinit (Portable Shell Initialization), you can attain at |
4 |
If you use switchBashZsh you can attain at least most of what you |
5 |
least most of what you desire, perhaps even all. You can log out of Bash |
5 |
desire, perhaps even all. You can log out of Bash and log in with Zsh |
6 |
and log in with Zsh (or vice versa) - and your aliases/exports/functions |
6 |
(or vice versa) - and your aliases/exports/functions will continue to |
7 |
will continue to work as before. |
7 |
work as before. |
8 |
|
8 |
|
9 |
It gets better - if someday you need to use a different box with a |
9 |
It gets better - if someday you need to use a different box with a |
10 |
different OS, you can get your shell to work your 'normal' way in a |
10 |
different OS, you can get your shell to work your 'normal' way in a |
11 |
jiffy. Just save your $HOME/.shell directory on your primary box, and |
11 |
jiffy. Just save your $HOME/.shell directory on your primary box, and |
12 |
paste it over your second box's $HOME/.shell (after running poshinit |
12 |
paste it over your second box's $HOME/.shell (after running |
13 |
setup script on the second box). The second box need not be the same |
13 |
switchBashZsh setup script on the second box). The second box need not |
14 |
operating system - poshinit works across FreeBSD / Linux / Cygwin. |
14 |
be the same operating system - switchBashZsh works across FreeBSD / |
|
|
15 |
Linux / Cygwin. |
15 |
|
16 |
|
16 |
WWW: https://github.com/bourne-again/poshinit |
17 |
WWW: https://github.com/bourne-again/switchBashZsh |