Giter Site home page Giter Site logo

ctm_bash's Introduction

ctm_bash

What is this

This project furnishing to a segregated customize environment with bash.
ctm_bash does not affect the host environment.
It is for those who operate a terminal without affecting the host environment.

Getting Started

Can use it as a script, or set a login shell.
If it is possible to affect the host environment, it can set a login shell else can use as a script.
The bashrc used in ctm_bash is in Ubuntu 16.04.

Directory structure

ctm_bash/
 ├ bin/  # Executable files manged by git.
 ├ exbin/  # Executable files not manged by git.
 ├ home/  # Home directory.
 │ └ .bashrc  # Default bashrc
 │ └ .vimrc   # Default vimrc
 ├ install.sh  # Install script
 ├ ctm_bash  # Itsself
 ├ ctm_bashrc  # Customized bashrc
 └ ctm_pylibs/  # Python libralies managed by git.

Prerequisites

If use ctm_bash, need bellow packages.

  • Bash
  • Git

Installing

Script

To install, just run git clone and install.sh.

git clone https://github.com/fealone/ctm_bash
cd ctm_bash
./install.sh

Login shell

To set a login shell, run the install as a script and edit the login shell in passwd.

  • Install ctm_bash
cd ~
git clone https://github.com/fealone/ctm_bash
cd ctm_bash
./install.sh
  • Edit passwd
sudo vim /etc/passwd
{uesrname}:x:{uid}:{gid}:{fullname},,,:/home/{username}/ctm_bash/home:/home/{username}/ctm_bash/ctm_bash

Usage

Script

To run, just execute ctm_bash.

cd ctm_bash
./ctm_bash

Login shell

Just log in with the user you set.

su - {username}

Lastly

ctm_bash is made on the premise to be customized.
If necessary, edit the script and install other packages.

ctm_bash's People

Contributors

fealone avatar

Stargazers

Yuki Yamazaki avatar

Watchers

James Cloos avatar  avatar

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.