Git Product home page Git Product logo

init-linux's Introduction

Steps:

1. Customize

  • Either add all your keys with prefix id_rsa (eg: id_rsa_github, id_rsa_github.pub) in home/.ssh/.
    Alternatively, you can add your keys later, after running the scripts.

  • Edit the ./home/.ssh/config as per your requirements.
    If you have some jumpbox VMs you can manage the configs here.
    You can also edit your /etc/hosts file to give user-friendly names to your Jumpbox IPs.

2. Set up your cli prompt and install other utility tools.

bash init.zsh

This will set up zsh with oh-my-zsh. Inside ~/.oh-my-zsh/custom/ you'll find several utility functions and aliases which are loaded (sourced) into the shell.

3. Install pyenv, gvm, etc.

  • pyenv: Python Version Manager
  • gvm: Go Version Manager
  • n: Nodejs Version Manager.
    Already installed while running init.sh, as it has a low footprint, and installs quickly.
bash packages/pyenv.sh
bash packages/gvm.sh

# And other packages as required.

4. Merge zsh history.

You can save your ~/.zsh_history for later reference. A vital step in improving your CLI experience is having access to all the great CLI commands you've run till now.

A function called merge_zsh_hist is created in ~/.oh-my-zsh/custom/03_abbrev.zsh

merge_zsh_hist <path-to-saved-zsh-history-file>

I've checked in my personal zsh history: ./.zsh_history

5. Dark Reader

I use dark reader for dark mode on selected websites. You can import the config in any of the supported web browsers to be kind to your eyes.

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.