Giter VIP home page Giter VIP logo

terminal_init's Introduction

terminal_init


terminal_init is a tool written by shell script to init terminal shell enviroment!

You should put your init script in ./init.d, make sure your script name should be *.sh and let them is execuable! (chmod u+x ./init.d/yourscript.sh).

Each init script in init.d is a "mode".

If you want to init a mode, you should call init.sh with the username and mode's name(without '.sh'), but if you have not specail any mode, this script will use all mode in init.d.

./tmp is created for cache tmpfile.

./src is created for useful init file like config file(e.g. vimrc).

./lib include common function file.

And INIT_USER=username , INIT_HOME=/home/username.

Whenever run this script, it will update pkg manager resource. But it just install base packages only once. If you want to reinstall base packages, please remove ./tmp/status.sh.

Usage:

  init.sh  username  [mode1, mode2 ...]

username is the name of user you want to init for.

Mode:

now, init.d include following modes:

  • nvim
  • zsh
  • font
  • docker
  • other

scripts for macOS

This project also contains some scripts for init the terminal environment of macOS, but it is not the major feature, you could find it under the macOS directory.

License:

MIT

terminal_init's People

Contributors

mephistommm avatar

Stargazers

xiaozhu avatar XANA Awakens avatar 张彬 avatar

Watchers

James Cloos avatar  avatar XANA Awakens avatar

Forkers

gklub zhuxindong

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.