Distributions
Ubuntu
Fedora
CentOS
中文资源站
网易开源镜像站
coolicer
V2EX  ›  Linux

坑货,我怎么换回 bash。

  •  
  •   coolicer · May 14, 2014 · 6256 views
    This topic created in 4386 days ago, the information mentioned may be changed or developed.
    本来是安装zsh,然后出现:chsh: PAM authentication failed

    看到一个回答是用这个:

    chsh -s /usr/bin/zsh

    然后登录后变成:

    ?. ~
    10 replies    2014-05-25 08:13:25 +08:00
    coolicer
        1
    coolicer  
    OP
       May 14, 2014
    难道是系统的字体原因
    aoyoo
        2
    aoyoo  
       May 14, 2014
    这是装了oh-my-zsh么?
    修改下theme就好了吧
    infong
        3
    infong  
       May 14, 2014   ❤️ 1
    chsh -s /bin/bash

    zsh 最好配合 oh-my-zsh 使用。。。 XD
    https://github.com/robbyrussell/oh-my-zsh
    coolicer
        4
    coolicer  
    OP
       May 14, 2014
    @aoyoo
    @infong
    是编码问题
    paomian
        5
    paomian  
       May 14, 2014
    编码问题。。我的显示良好,用着挺爽的,不过用来远程的server上最好别用,因为显示会有问题
    coolicer
        6
    coolicer  
    OP
       May 14, 2014
    @paomian 我是用xshell连到本地的虚拟机ubuntu。目前显示正常
    paomian
        7
    paomian  
       May 14, 2014
    @coolicer 那样编码换位utf-8基本
    fkccp
        8
    fkccp  
       May 14, 2014
    我刚卸载,你直接 uninstall_[tab] 就能看到卸载命令了~~
    gysutantoman
        9
    gysutantoman  
       May 15, 2014
    oh-my-zsh 一直使用良好
    tonyluj
        10
    tonyluj  
       May 25, 2014
    oh-my-zsh
    换回bash是chsh -s /bin/bash
    zsh的自动补全比bash好不少
    zsh兼容bash的shell语法
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1351 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 58ms · UTC 17:01 · PVG 01:01 · LAX 10:01 · JFK 13:01
    ♥ Do have faith in what you're doing.