Install banner deps and prompt for punchline
This commit is contained in:
10
README.md
10
README.md
@@ -43,9 +43,9 @@ dotfiles/
|
||||
|
||||
På Linux/WSL lastes også et banner ved login:
|
||||
|
||||
- `figlet $(hostname)` i farger
|
||||
- `figlet -f digital "<punchline>"` i farger
|
||||
- `landscape-sysinfo` (hvis tilgjengelig)
|
||||
- `figlet $(hostname) -c | lolcat`
|
||||
- `figlet -f digital "<punchline>" -c | lolcat`
|
||||
- `landscape-sysinfo | lolcat`
|
||||
|
||||
### Punchline (global)
|
||||
|
||||
@@ -53,7 +53,7 @@ Banneret leser punchline fra:
|
||||
|
||||
- `/etc/ps1-punchline`
|
||||
|
||||
Sett punchline slik:
|
||||
Install-scriptet spør etter punchline og lagrer den i filen. Du kan også sette den manuelt:
|
||||
|
||||
```bash
|
||||
echo "Din punchline" | sudo tee /etc/ps1-punchline >/dev/null
|
||||
@@ -73,6 +73,8 @@ This:
|
||||
|
||||
- Installs the prompt module to `/etc/profile.d/ps1.sh`
|
||||
- Sources it in `/etc/bash.bashrc` so all users get the prompt
|
||||
- Installs `landscape-common`, `figlet`, and `lolcat` if missing
|
||||
- Prompts for the global punchline used by the banner
|
||||
- After install, open a new shell to see the prompt
|
||||
|
||||
### 🍏 macOS (per-user)
|
||||
|
||||
Reference in New Issue
Block a user