# simple-shell **Repository Path**: naivetoby/simple-shell ## Basic Information - **Project Name**: simple-shell - **Description**: 简单的Mac开发shell配置 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-04-24 - **Last Updated**: 2023-04-16 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README ### 安装 homebrew ~~~bash /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" ~~~ ### 安装 iTerm2 ~~~bash brew install iterm2 ~~~ ### 安装 zsh ~~~bash brew install zsh ~~~ ### 安装 Oh My Zsh ~~~bash sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ~~~ ### 安装 fzf ~~~bash brew install fzf $(brew --prefix)/opt/fzf/install ~~~ ### 安装thefuck ~~~bash brew install thefuck ~~~ ### 安装 tmux ~~~bash brew install tmux cd ~ && git clone https://github.com/gpakosz/.tmux.git ln -s -f .tmux/.tmux.conf cp .tmux/.tmux.conf.local . ~~~ ### 编辑 ~/.zshrc ~~~bash source ~/.profile export ZSH=~/.oh-my-zsh ZSH_THEME="zhann" source $ZSH/oh-my-zsh.sh [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh ~~~ ### 编辑 ~/.profile ~~~bash export LANG=en_US.UTF-8 export PATH=/usr/local/bin export PATH=$PATH:/usr/bin:/usr/sbin export PATH=$PATH:/bin export PATH=$PATH:/sbin export PATH=$PATH:/usr/local/sbin export PATH=$PATH:/usr/X11/bin # PS COLOR export CLICOLOR=1 export LSCOLORS=gxfxcxdxbxegedabagacad export PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;36m\]\w\[\033[00m\]\$' export TERM=screen-256color-bce alias tmux="tmux -2" alias W="tmux -2 attach || tmux" # fuck eval $(thefuck --alias) # other env ~~~ ### iTerm2 导入配置文件 Default.json ### 解决中文乱码 安装字体 PowerlineSymbols.otf ### tmux自定义配置 .tmux.conf.local