/setting

My setting of terminal

Primary LanguagePython

Setting

My setting of the terminal.

Start

  • You should install git, first.

    Ubuntu

    apt install -y git

    Mac OS X

    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew install git
  • Then, you can install all settings.

    git clone https://github.com/HsuTing/setting.git ~/setting
    ~/setting/install.sh

Environment

  • Ubuntu 16.04 LTS
  • Mac OS X 10.12

List

upgrade

Use to upgrade package.

git

  • Install ghi.
  • Set gitconfig.

vim

nodejs

  • Install npm, yarn and watchman.
  • Install packages:
  • yo
  • create-react-native-app
  • react-vr-cli
  • nsp
  • commitizen
  • cz-conventional-changelog
  • conventional-changelog
  • generator-cat
  • git-open
  • git+ssh://git@github.com:HsuTing/cat-bin.git

bash

  • Add work, server and env folder.
  • New commands:
    • count: count the code line of the project.
    • cdwork: command about work folder.
    • cdloacl: command about local folder which is used to build local server.
    • run-server: command about server folder whose files are used to run ssh.
    • run-env: command about env folder whose files are used to set env.
    • docker-editor: help to use docker.
    • setting: command about this project.
    • check: check project.
    • make-log: make CHANGELOG.md.
    • note: add notes.

python

  • Install python, python3, pip, virtualenv, and glances.

docker

  • Install docker.

mac

  • Install tree.
  • Copy .tern-project to web server.

linux

  • Install apache2 and tree.
  • Change owner of /var/www/html to user.
  • Copy .tern-project to apache server.

Problem

  • If vim-airline has font problem, you need to set the powerline font of the terminal.