This repository has been archived on 2025-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
Files
chimera-linux/tips-and-tricks.md
julien 9ce2058678 doc
2025-03-06 15:23:31 +01:00

44 lines
971 B
Markdown

# Tips and tricks
## Some common software
From Chimera Linux repositories :
```
$ doas apk add firefox gimp libreoffice libreoffice-lang_<your-language>
```
From Flathub :
* VLC
* VSCodium
## QEMU guest agent for VMs
```
$ doas apk add qemu-guest-agent
$ doas dinitctl enable qemu-ga
```
## First-Time Git Setup
```
$ git config --global user.name "John Doe"
$ git config --global user.email johndoe@example.com
```
## Colored bash prompts
For users :
```
$ echo -e "if [ -f ~/.bashrc ];\nthen\n\t. ~/.bashrc;\nfi" > .bash_profile
$ echo "PS1='\[\e[32;1m\]\u@\H\[\e[39m\]:\[\e[95m\]\w\[\e[39m\]$ \[\e[0m\]'" > .bashrc
```
For the root account :
```
# echo -e "if [ -f ~/.bashrc ];\nthen\n\t. ~/.bashrc;\nfi" > /root/.bash_profile
# echo "PS1='\[\e[91;1m\]\u\[\e[91m\]@\[\e[91m\]\H\[\e[39m\]:\[\e[95m\]\w\[\e[39m\]# \[\e[0m\]'" > /root/.bashrc
```
> You could use [this website](https://bash-prompt-generator.org) if you want to easily customize your prompts.