Code Monkey home page Code Monkey logo

dotfiles's Introduction

These are my public configuration files, shell scripts, and more. I'm sharing them for the benefit of others, and I sincerely hope others find them useful.

My shell scripts are well-documented, and readers may also be interested in my methods of organization, my Bash functions, my Neovim configuration, my tmux configuration, and my Git configuration, among other things.

In general, shell scripts that might be useful to others are stored in the bin directory, whereas Bash utilities that are specific to my setup or reflect my personal preferences are written as Bash functions and stored in the .config/bash/init/functions directory.

I'm very pleased with the organization of my Bash functions. I've tried many methods of organizing aliases and functions, but this method, inspired by fish, feels the most natural. No aliases are used. Everything is a function, and every function has its own file.

I welcome issues, including bug reports and feature requests, as well as pull requests. To ask questions or discuss these files for any other reason, please use the Discussions page.

Installation

Everything

Follow these steps to install all of these files:

  1. Install docopts. Shell scripts require docopts and will not function without it.
  2. Install vcsh.
  3. Run vcsh clone [email protected]:openjck/dotfiles.git dotfiles-openjck.
  4. Run vcsh dotfiles-openjck switch main.

Single shell script

Follow these steps to install a single shell script:

  1. Install docopts. Shell scripts require docopts and will not function without it.
  2. Save the shell script somewhere along your $PATH.
  3. Make the script executable (e.g., chmod u+x /path/to/script).

After following the above steps, you'll be able to call the shell script by name without providing its full path. For example, if you downloaded the rename-files-sequentially script, you'll be able to run the following from anywhere:

$ rename-files-sequentially

Usage

Shell script documentation

Pass the -h or --help option to any shell script to read its detailed documentation. For example:

$ indent --help

dotfiles's People

Contributors

openjck 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.