Giter Site home page Giter Site logo

diy_profile_for_zsh's Introduction

CrossPlatformProfileBasedOnOhMyZsh

I always switch between Mac OS and Linux, and use shell commands frequently. So i want to make a unified and customizable profile file for my shell. For example, you may want to set an alias command for a long length command only available on Mac OS or otherwise. I made this little script plugin based on OhMyZsh to fulfill this demand.

Prerequisite

You should have Zsh and OhMyZsh installed.

  • Zsh

    you can install Zsh with the guidance of this page

  • OhMyZsh

    It's very easy to install OhMyZsh with just oneline command

Installation

1. Manual installation

  • Download repository

    Just clone or download this repository to a folder in your local machine. For example, if it is /home/choris/CrossPlatformProfileBasedOnOhMyZsh

  • Change Zsh custom folder for OhMyZsh

    Open .zshrc file in your home directory, uncomment and change the following line # ZSH_CUSTOM=/path/to/new-custom-folder into ZSH_CUSTOM=home/choris/CrossPlatformProfileBasedOnOhMyZsh

  • Enable this plugin

    Just restart your terminal or run source ~/.zshrc, and you can enjoy all the custom settings defined in CustomShellScripts folder

2. Install with shell script(recommended)

I also provide a script to automatically do all these stuff, just open your terminal and run the following oneline command.

sh -c "$(curl -fsSL https://raw.githubusercontent.com/stevechoris/CrossPlatformProfileBasedOnOhMyZsh/master/tools/install.sh)"

diy_profile_for_zsh's People

Stargazers

 avatar  avatar  avatar

Watchers

 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.