Skip to content

ec-intl/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

48 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles 🚀

Project Status

Welcome to our project! Here's the current status of our workflows:

Workflow Status
Guard Main Branch Guard Main
Lint Codebase Lint Codebase

About

This repository contains ECI's dotfiles 🟢, configuration files 📁 for the Company's various tools and applications. We use dotfiles to keep our environment consistent across machines 💻 and codespaces.

The dotfiles in this repository work on both Linux 🐧 and macOS 🍎. For Linux, we use Ubuntu 🐧 with the Bash shell. For macOS, we use the Zsh shell with Oh My Zsh.

The src directory contains standardized aliases, functions, and other scripts that the dotfiles use. The install script updates your .bashrc or .zshrc file to source the files in the src directories. After installing, you can use the aliases and functions in your terminal.

The bin direcotry contains scripts that you can run from the command-line. The install script adds the bin directory to your PATH so that you can run the scripts from anywhere. See installation steps below.

Installation

To install the dotfiles, clone this repository to your 🏠 📂 and then 🏃 the following commands:

  1. Clone the repository on your local machine:

        git clone [email protected]:ec-intl/dotfiles.git
  2. Navigate to the dotfiles directory:

        cd dotfiles
  3. Run the install.sh script stating the shell you are using, for example, if you are using bash:

        ./install bash
  4. Finally, source your shell's configuration file, for example, if you are using bash:

        source ~/.bashrc

Once you complete the installation steps, you will see a welcome message 📜.

Uninstallation

To uninstall the dotfiles, run the following commands:

  1. Navigate to the dotfiles directory:

        cd dotfiles
  2. Run the uninstall.sh script stating the shell you are using, for example, if you are using bash:

        ./uninstall bash

The uninstall script will remove the dotfiles from your home directory and restore your shell's configuration file to its original state.

Getting the latest version

To get the latest version of the dotfiles, run the following commands:

  1. Navigate to the dotfiles directory:

        cd dotfiles
  2. Run the update.sh script stating the shell you are using, for example, if you are using bash:

        ./update bash

The update script will pull the latest version of the dotfiles from the remote repository and update your shell's configuration file to source the files in the src directories.

Customization

If you want to customize the dotfiles, edit the files in the dotfiles directory and rerun your shell's configuration file. You can add your own aliases, .env files, and functions to corresponding files in the $HOME/bash-src or $HOME/zsh-src directories. The install script will automatically source these files when you run it.

Contents

Here is the dotfiles's directory structure (note that Zsh uses the bash functions file):

Dotfiles Directory Structure

|--- src
    |--- bash
        |--- aliases
        |--- functions
        |--- env.env
    |--- zsh
        |--- aliases
        |--- env.env
|--- bin
    |--- gres: This script replaces a pattern in a file, but does not change the file's contents.
|--- install
|--- License
|--- README.md
|--- run-linter
|--- uninstall
|--- update

Further Information

You can find more information about each dot file in this repository by reading the comments in the files themselves.

Troubleshooting

If you have any problems with the dotfiles, please open an issue in this repository.

About

For configuration dotfiles

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages