GEARZ.de

All howtos are without any warranty.
Alle Howtos sind ohne jegliche Gewähr oder Garantie.



OS X Terminal - Setting Terminal-type:

If you work with an unprivileged user-account (as recommended) you will notice, that working in Terminal is quite difficult. After the login with the admin-account in Terminal (while still working in your unprivileged environment), commands like "nano" result in an error-message like this: "cant open terminal: network".

To fix this issue, create a file named .profile in the admin-homedirectory:
touch ~/.profile

Add the "export"-line to the file:
echo "export TERM=xterm-color" >> ~/.profile

OS X Terminal - Adding Aliases and colours:

To add aliases like the SuSE list-shortcut add to your .profile lines like this:
alias l="ls -laG"

You can also add colours to the output of the ls-command:
export LSCOLORS=HxGxFxdxCxDxDxBxBxHxHx
To preview the colors: have a look at this little online-tool.