Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 1.53 KB

README_EN.md

File metadata and controls

32 lines (25 loc) · 1.53 KB

server tag

server tag is tag for server plugin on iterm2.

GitHub GitHub top language GitHub repo size

function

Color your tab and show server name on your iterm, when you ssh to server.

show

ScreenShot

quick start

  1. check your python and pip using python3. only support Python 3. python3 --version && pip3 --version
  2. install iterm2 library with python, pip3 install iterm2 --user
  3. clone this project to your workspace
  4. use install.sh to install. you can manual install if this script is not work.

manual install

  1. check your python and pip using python3. only support Python 3. python3 --version && pip3 --version
  2. install iterm2 library with python, pip3 install iterm2 --user
  3. clone this project to your workspace
  4. edit .zshrc or .bashrc, add alias ssh="xxx/server_tag/server_tag.py"
  5. edit .zshrc or .bashrc, add source alias _ssh="/usr/bin/ssh"(optional)
  6. restart iterm2, test and check result for ssh user@host

manage server

Edit server_config.json. Outermost is server group, all server in same group use same color.

color

You can get RGB color on https://www.w3schools.com/colors/colors_rgb.asp.