Translate README to English
- Replace remaining Norwegian sections - Update color palette description
This commit is contained in:
46
README.md
46
README.md
@@ -33,12 +33,12 @@ cd Bashrc
|
||||
sudo bash dotfiles/install/install-linux-global.sh
|
||||
```
|
||||
|
||||
Du får 3 valg i install-scriptet:
|
||||
1) Kun PS1
|
||||
2) Kun banner
|
||||
3) Begge (PS1 + banner)
|
||||
You get 3 choices in the install script:
|
||||
1) PS1 only
|
||||
2) Banner only
|
||||
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.
|
||||
|
||||
@@ -91,7 +91,7 @@ After install:
|
||||
- Sources both from `/etc/bash.bashrc`
|
||||
- Installs `landscape-common`, `figlet`, and `lolcat` if missing
|
||||
- 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
|
||||
|
||||
@@ -113,7 +113,7 @@ You normally do not need to run `ps1.sh` manually.
|
||||
|
||||
## Banner (hostname + punchline + sysinfo)
|
||||
|
||||
På Linux/WSL lastes også et banner ved login:
|
||||
On Linux/WSL, a banner is also shown on login:
|
||||
|
||||
- `figlet $(hostname) -c | lolcat`
|
||||
- `figlet -f digital "<punchline>" -c | lolcat`
|
||||
@@ -121,14 +121,14 @@ På Linux/WSL lastes også et banner ved login:
|
||||
|
||||
### Punchline (global)
|
||||
|
||||
Banneret leser punchline fra:
|
||||
The banner reads the punchline from:
|
||||
|
||||
- `/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
|
||||
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)
|
||||
- Få farger, men med mening
|
||||
- Path er synlig, men aldri dominerende
|
||||
- Emoji er aksent, ikke gimmick
|
||||
- Promptlinjen er rolig → kommandoen får fokus
|
||||
- Semantic color use (identity vs location)
|
||||
- Few colors, but with meaning
|
||||
- Path is visible, but never dominant
|
||||
- Emoji is an accent, not a gimmick
|
||||
- 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 |
|
||||
| Sone 1 FG | 255 | ren hvit |
|
||||
| Sone 2 BG | 37 | turkis / sval grønn |
|
||||
| Path FG | 194 (FG) | lys grønn, nedtonet |
|
||||
| Ramme | 60 | mørkere blå |
|
||||
| Zone 1 BG | 61 | gray-blue pastel |
|
||||
| Zone 1 FG | 255 | pure white |
|
||||
| Zone 2 BG | 37 | turquoise / cool green |
|
||||
| Path FG | 194 (FG) | light green, muted |
|
||||
| Frame | 60 | darker blue |
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user