Configure your own Shell under Mac

Source: Internet
Author: User

Mac uses Iterm

[https://www.iterm2.com/] ()

1. 安装iterm2 2. 使用oh-my-zsh wget https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh 3. cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc4. vim ~/.zshrc ZSH_THEME="robbyrussell"  默认主题

[Https://github.com/robbyrussell/oh-my-zsh/wiki/Themes] () Description of each topic

主题文件在  ~/.oh-my-zsh/themes编辑这个主题vim ~/.oh-my-zsh/themes/robbyrussell.zsh-theme PROMPT=‘%{$fg_bold[red]%}? %{$fg_bold[green]%}%p%{$fg[cyan]%}%d %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}>‘安装插件brew install autojump 修改.zshrc [[ -s ~/.autojump/etc/profile.d/autojump.sh ]] && . ~/.autojump/etc/profile.d/autojump.sh 自定义别名 vim  ~.zshrc   alias cls=‘clear‘  alias ll=‘ls -l‘ alias la=‘ls -a‘ alias vi=‘vim‘ alias grep="grep --color=auto"

Configure your own Shell under Mac

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.