Translate README to English

- Replace remaining Norwegian sections

- Update color palette description
This commit is contained in:
2026-01-24 08:35:18 +00:00
parent 8d7af2d863
commit 83481bbc00

View File

@@ -33,12 +33,12 @@ cd Bashrc
sudo bash dotfiles/install/install-linux-global.sh sudo bash dotfiles/install/install-linux-global.sh
``` ```
Du får 3 valg i install-scriptet: You get 3 choices in the install script:
1) Kun PS1 1) PS1 only
2) Kun banner 2) Banner only
3) Begge (PS1 + banner) 3) Both (PS1 + banner)
For å "avinstallere" én del, kjør scriptet på nytt og velg bare den andre. To "uninstall" one part, run the script again and choose only the other.
4) Open a new shell to see the prompt and banner. 4) Open a new shell to see the prompt and banner.
@@ -91,7 +91,7 @@ After install:
- Sources both from `/etc/bash.bashrc` - Sources both from `/etc/bash.bashrc`
- Installs `landscape-common`, `figlet`, and `lolcat` if missing - Installs `landscape-common`, `figlet`, and `lolcat` if missing
- Prompts for the global punchline used by the banner - Prompts for the global punchline used by the banner
- Du kan endre valg eller fjerne PS1/banner ved å kjøre install-scriptet på nytt - You can change the selection or remove PS1/banner by running the installer again
### macOS ### macOS
@@ -113,7 +113,7 @@ You normally do not need to run `ps1.sh` manually.
## Banner (hostname + punchline + sysinfo) ## Banner (hostname + punchline + sysinfo)
Linux/WSL lastes også et banner ved login: On Linux/WSL, a banner is also shown on login:
- `figlet $(hostname) -c | lolcat` - `figlet $(hostname) -c | lolcat`
- `figlet -f digital "<punchline>" -c | lolcat` - `figlet -f digital "<punchline>" -c | lolcat`
@@ -121,14 +121,14 @@ På Linux/WSL lastes også et banner ved login:
### Punchline (global) ### Punchline (global)
Banneret leser punchline fra: The banner reads the punchline from:
- `/etc/ps1-punchline` - `/etc/ps1-punchline`
Install-scriptet spør etter punchline og lagrer den i filen. Du kan også sette den manuelt: The install script prompts for a punchline and stores it in the file. You can also set it manually:
```bash ```bash
echo "Din punchline" | sudo tee /etc/ps1-punchline >/dev/null echo "Your punchline" | sudo tee /etc/ps1-punchline >/dev/null
``` ```
--- ---
@@ -262,23 +262,23 @@ With exit-status colored arrow and emoji reflecting time of day.
--- ---
## 🔥 Hvorfor dette er ekte high-end PS1-design ## 🔥 Why this is real high-end PS1 design
- Semantisk fargebruk (identitet vs lokasjon) - Semantic color use (identity vs location)
- Få farger, men med mening - Few colors, but with meaning
- Path er synlig, men aldri dominerende - Path is visible, but never dominant
- Emoji er aksent, ikke gimmick - Emoji is an accent, not a gimmick
- Promptlinjen er rolig → kommandoen får fokus - Prompt line is calm → the command gets focus
### 🎨 Fargevalg (forklaring) ### 🎨 Color palette (notes)
| Rolle | BG | Beskrivelse | | Role | BG | Description |
| --- | --- | --- | | --- | --- | --- |
| Sone 1 BG | 61 | grå-blå pastell | | Zone 1 BG | 61 | gray-blue pastel |
| Sone 1 FG | 255 | ren hvit | | Zone 1 FG | 255 | pure white |
| Sone 2 BG | 37 | turkis / sval grønn | | Zone 2 BG | 37 | turquoise / cool green |
| Path FG | 194 (FG) | lys grønn, nedtonet | | Path FG | 194 (FG) | light green, muted |
| Ramme | 60 | rkere blå | | Frame | 60 | darker blue |
--- ---