Provo a installare Oh my zsh. Dopo l'installazione zsh ( sudo apt-get update && sudo apt-get install -y zsh
)
Quindi installo
sudo apt-get install -y curl
quindi installa git.
i problemi si verificano quando provo questo comando.
curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
questo è il registro
sudo curl -L https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 146 100 146 0 0 91 0 0:00:01 0:00:01 --:--:-- 91
100 1779 100 1779 0 0 525 0 0:00:03 0:00:03 --:--:-- 1416
\033[0;34mCloning Oh My Zsh...\033[0m
Cloning into '/home/icom3/.oh-my-zsh'...
remote: Reusing existing pack: 10101, done.
remote: Total 10101 (delta 0), reused 0 (delta 0)
Receiving objects: 100% (10101/10101), 1.92 MiB | 172.00 KiB/s, done.
Resolving deltas: 100% (5337/5337), done.
Checking connectivity... done.
\033[0;34mLooking for an existing zsh config...\033[0m
\033[0;33mFound ~/.zshrc.\033[0m \033[0;32mBacking up to ~/.zshrc.pre-oh-my-zsh\033[0m
\033[0;34mUsing the Oh My Zsh template file and adding it to ~/.zshrc\033[0m
\033[0;34mCopying your current PATH and adding it to the end of ~/.zshrc for you.\033[0m
\033[0;34mTime to change your default shell to zsh!\033[0m
Password: chsh: PAM: Authentication failure
C'è qualche idea?
Nota che ci ho provato
sudo vim /etc/pam.d/chsh
quindi commentare l'autorizzazione richiesta pam_shells.so. Tuttavia, l'errore si verifica ancora.
curl
stampa il file su stdout invece di scrivere il file comewget
; è necessario uncurl -L ... > install.sh
reindirizzamento alla fine del comando.