Sharing the aliases, customized PS1 (prompt), functions and PATH/CDPATH between the zsh and bash shells is very usefull. To my mind, the cleanest way to do this is to create a new file, having the portable shell settings stored there…
The !$ trick works on bash, csh, tcsh and zsh, but does not work on ksh. The !$ trick is very usefull in the Linux and Unix shells. In the Bash shell, the !$ inserts (and expands) the last used…
In this article I will show you how to cd into a directory by only typing the directory name. To do this, you have to activate the autocd. For bash: shopt -s autocd $ ls -ld naboo drwxrwxr-x 2 razvan…