8000 GitHub - cr1315/.rayrc
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cr1315/.rayrc

Repository files navigation

Why

Recently I found that I'm working on newly created linux workstations so often that time by time I'm annoyed with these repeating work:

  • set up my shell aliases, prompts, color schemas and custom functions, etc..
  • install and configure my favorite bat, jq, fzf, rg, fd, etc..
  • install and configure vim plugins..

IT'S TIME to automate all of these with one command!

What

It's supposed to inlucde all my customizations on a workstation,
it means that all my custom settings would settle down inside the $HOME/.rayrc folder.

Why? (You may ask)

  • Well, you know, there are many, those kinds of, company policies, security policies, blahblah blahblah..

Anyway, I tried my best to include all my customizations within inside the $HOME/.rayrc folder.

And, after installation, it gives me a consistent shell environment, whichever workstation I log in to.

Features

Something like:

  • beautiful and useful prompt

    • for Linux
      beautiful and useful prompt
    • for Mac
      beautiful and useful prompt
  • auto-completion for frequently using commands

    • aws, k(kubectl), d(docker), dp(docker-compose)..
  • some useful custom functions

    • k.conf..

Who cares

For me, and for all,

I created this for myself, but I expect this to work for anyone who wants a somehow beautiful and useful shell environment.

but with some prerequisites

  • Besides of this repo, we expect you to do some customizations for your terminal environment:

How

It should be easy to install, as easy as running this single one-liner:

installation for Unix

git clone https://github.com/cr1315/.rayrc.git && source .rayrc/install

installation for Windows (on working..)

git clone https://github.com/cr1315/.rayrc.git && . .rayrc/install.ps1

for test only

git clone -b dev_docker --single-branch --depth 1 https://github.com/cr1315/.rayrc.git && source .rayrc/install

Architecture

It may sounds a bit ridiculous to use the word "architecutre" for such a little project, but I'd say I've really crafted a lot.

Some pricipals

I assume that this repo could create a Pluggable Terminal rc Platform with these considerations in mind:

  • unified management
  • idempotency
  • extensibility / pluggable

Advertise and boast

Unfortunately, I'm not good at bragging, although I'm working in a consulting company :).

Whatever, I think you can understand the concept/intention as soon as you see this folder structure image:

folder structure image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0