Skip to content

Latest commit

 

History

History
73 lines (59 loc) · 1.89 KB

README.md

File metadata and controls

73 lines (59 loc) · 1.89 KB

shell

Shared and common aliases and functions for all machines.

What do you get?

Install

- Mac OS

sh -c "$(curl -fsSL https://raw.githubusercontent.com/kalindudc/shell/main/install.sh)"

2. Linux (Debian/Ubuntu)

sh -c "$(curl -fsSL https://raw.githubusercontent.com/kalindudc/shell/main/install-linux.sh)"

3. Manual

Dependencies

-  bash
-  git
-  curl
-  ruby
-  gnu-stow (https://www.gnu.org/software/stow/)
-  fzf
-  kubectl
-  gh (github cli)

Installation

$ git clone https://github.com/kalindudc/shell.git $HOME/src/github.com/kalindudc/shell
$ $HOME/src/github.com/kalindudc/shell/src/setup.sh

Directory Structure

.
├── LICENSE
├── README.md
├── home/                       // home directory configurations that will be `stowed`
    ├── bin/                   // useful scripts
    ├── ...
    ├── .zshrc                 // autogenerated
    └── README.md
└── src/
    ├── templates/
    ├── generate_template.rb    // script to generate all other templates
    └── generate_zshrc.rb       // script to generate the .zshrc files

Performance

On latest M3 macs, the average shell will startup in under 400ms. Even on old 2018 Intel Macs, the average shell will startup in under 700ms.

Tasks

Custom tasks are specified in the Taskfile

stow: Re-stow the $HOME directory       // use this when adding new directories to home/

License

MIT