Update README.md
Add information about setting zsh as default shell for users without set password and updating repos url into `git clone` command.
This commit is contained in:
10
README.md
10
README.md
@@ -5,7 +5,7 @@ Interactive installer for setting up a consistent shell environment on Ubuntu/De
|
||||
## Quick start
|
||||
|
||||
```sh
|
||||
git clone <repo-url> ~/server_cli_tools
|
||||
git clone https://git.mpx.sk/elvis/server-cli-tools ~/server_cli_tools # edit, if repo moves
|
||||
cd ~/server_cli_tools
|
||||
./install.sh # interactive menu
|
||||
./install.sh --all # install everything
|
||||
@@ -80,6 +80,14 @@ Use `ea l` to edit local aliases, `ea c` for custom, `sa` to re-source.
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### Setting `zsh` as default shell for user with disabled password
|
||||
|
||||
When installing zsh and oh-my-zsh as non-root user with disabled password,
|
||||
you'll be asked to input password to set zsh as default shell, which will fail
|
||||
regardless of your input. After installation, login as root or any user that is
|
||||
member of `sudo` group with set password and manually change default shell in
|
||||
shell for the user.
|
||||
|
||||
### Terminal type / colors over SSH
|
||||
|
||||
Clients such as [Ghostty](https://ghostty.org/) set `TERM` to values like `xterm-ghostty`. SSH forwards that to the server, but the server usually has no matching terminfo entry. Symptoms include:
|
||||
|
||||
Reference in New Issue
Block a user