-
Notifications
You must be signed in to change notification settings - Fork 0
Changing the logo
By default, the downloaded zip file contains a logo file named "raspberrypi" which contains an ASCII graphic and a stylized raspberry will appear above the prompt when opening a terminal window.
The logo does not appear every time you issue a command. That would be annoying. You can recall the logo at any time with the command lolcat ~/.shellcfg/logos/raspberrypi
or cat ~/.shellcfg/logos/raspberrypi
as you wish.
If you want to see another logo when you start an interactive shell you just have to create an ascii art and save it as ~/.shellcfg/logos/<name_of_your_file>
. Also, you need to adjust lines 198 and 202 in the ~/.bashrc file to see the new logo (change filename, and path in case you saved it elsewhere). The filename or command will change as more logos become available, and then it makes sense to query the distribution name, but this is currently not implemented. Alternatively, you can simply delete or rename the logo file and you will get an intro with some information about your system. Then the result looks like this:
The output of RAM (command free -h
) and the interface table (command netstat -i
) will be shown according to your system language settings. If the interface table is not shown you need to install the net-tools package (see section Optional programs). This is avaible at least in Debian and Ubuntu based distros. The package may not be available by default. In this case nothing will be shown. The full name and version of the shell you are currently using should be displayed, too. This is not nessecarily your default shell, if you invoke, e.g., Bash from the Korn Shell command line and have a copy of this .bashrc and its associated files in your home directory (I have not yet tested this scenario).
❗ | There is absolutely no warranty, that these files work. They may damage your system. USE IT AT YOUR OWN RISK! |
---|---|
❗ | If you want to use these files in shells other than bash, the code must be adapted for other shells. |