Skip to content

boyaziqi/zsh-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

my zsh env conf

我的 zsh 环境配置, 包括 oh-my-zsh, tmux, vi

使用

1, 首先需要安装 oh-my-zsh,然后增加 plugins 配置和最后的个性化设置

2, 将tmux 配置文件copy 为 ~/.tmux.conf。通过tmp安装需要的插件

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

注意事项

  • vim 在 tmux 中样式各种不协调。通过安装powerline-fonts可以解决 具体可以查看我的 vimrc 配置

  • zshrc 里 plugins 选项中的 vi-mode 和 history-substring-search 顺序不能颠倒,不然 vi 模式 方向键不能正确搜索历史命令

  • tmux 可能无法共享系统剪贴板,如果使用item,勾选上Applications in terminal may access clipboard即可。如果通过 reattach-to-user-namespace 解决,需要首先安装,然后在取消相应行注释。不然启动会报错。macos 执行如下命令安装:

    brew install reattach-to-user-namespace

About

my zsh env conf

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages