# GCR **Repository Path**: gao-junbin/GCR ## Basic Information - **Project Name**: GCR - **Description**: shell config - **Primary Language**: Shell - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-05 - **Last Updated**: 2022-07-01 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # GCR ### .ohmyshell some common shell 1. How to use ``` # for bash >> echo 'source ~/.ohmyshell' >> ~/.bashrc # for zsh, modify shell_file=~/.zshrc in .onmyzsh >> echo 'source ~/.ohmyshell' >> ~/.zshrc ``` 2. Outline ``` # =========Outline================ # --- mytool - Some basic tools for common using. # | # --- myenv - Anaconda tools. # | # --- mygpu - useful functions for GPU and cuda. # | # --- mypermission - some functions for permission, passward, etc. # | # --- mygit - Git tools. # | # --- Others # ========Outline end============ ``` ### .ohmyzsh ![](https://raw.githubusercontent.com/gaojunbin/images/master/zsh_demo.mp4) 1. How to use First, git clone this repo to $HOME. For Mac, you should spend some time to install Homebrew, and use homebrew to install some fonts and Iterm2. you can follow `install_ohmyzsh_mac.sh` to prepare your Mac. The main problem may network. For Remote host, e.g. Linux, just run ``` sh $HOME/GCR/install_ohmyzsh_remote.sh ```