我的个人设置为新终端作为Ruby on Rails + iOS + Flutter工程师
#android #flutter #ios #设置

我目前是iOS工程师,但一直是心脏中的全堆栈。现在,我将根据我的需求以及一些需求分享如何设置新终端。

最初的

  • 安装brew
  • 使用brew brew install node安装节点

终端

  • 安装iterm2 brew cask install iterm2
  • 安装zsh brew install zsh
  • 安装oh-my-zsh sh -c "$(curl -fsSL[<https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh>](<https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh>))"
  • 安装iterm2 themes
  • 安装空间:
    • git clone [<https://github.com/denysdovhan/spaceship-prompt.git>](<https://github.com/denysdovhan/spaceship-prompt.git>) "$ZSH_CUSTOM/themes/spaceship-prompt" --depth=1
    • ln -s "$ZSH_CUSTOM/themes/spaceship-prompt/spaceship.zsh-theme" "$ZSH_CUSTOM/themes/spaceship.zsh-theme"
  • 安装书呆子字体brew tap homebrew/cask-fonts然后kude77
  • 安装不要获得brew install tmux
  • 安装ZSH插件
    • 语法autosuggestion -git clone [<https://github.com/zsh-users/zsh-autosuggestions>](<https://github.com/zsh-users/zsh-autosuggestions>) ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
    • 语法亮点-git clone <https://github.com/zsh-users/zsh-syntax-highlighting.git> ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    • 自动完成-git clone [<https://github.com/zsh-users/zsh-completions>](<https://github.com/zsh-users/zsh-completions>) ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-completions11
  • 生成ssh-key ssh-keygen -t rsa检查: How to manage multiple GitHub accounts on a single machine with SSH keys
  • 将ssh-key复制到bitbucket或github或其他。
  • 克隆https://github.com/jaimejazarenoiii/dotfilescp -r dotfiles/ ~/或使用自己的配置。
  • 运行源命令:

    -   source ~/.zshrc
    -   source ~/.vimrc
    
  • 安装TMUX插件管理器

    • git clone [<https://github.com/tmux-plugins/tpm>](<https://github.com/tmux-plugins/tpm>) ~/.tmux/plugins/tpm
    • tmux source ~/.tmux.conf
    • 运行Prefix + I

编辑(vim)

  • 安装neo coude18
  • 与Neovim共享VIMRC配置。 https://vi.stackexchange.com/a/15548
  • 安装vim插件:PlugInstall

    ```sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \\
       <https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim>'```
    

红宝石

  • 安装rbenv
  • 从RBENV安装最新的Ruby,请使用rbenv install -l检查列表

铁轨

  • 安装Postgres:brew install postgres(对于非容器化项目)
  • 安装Docker:brew install --cask docker
  • 安装redis:brew install redis(对于非容器化项目)

ios | Android |扑

杂项(可选)


一些VIM插件:

  1. https://www.vimfromscratch.com/articles/vim-for-ruby-and-rails-in-2019/