Skip to content

Collection of shell functions, commands, environment configurations, themes, etc.

License

Notifications You must be signed in to change notification settings

dolsem/shell-collection

Repository files navigation

Shell Collection

License: MIT

Installation

$ git clone --recursive https://github.com/dolsem/shell-collection && cd shell-collection && bash install.bash

What's included

Below is the list of items that can be installed with the installation script.

  • Oh My Zsh
  • Shell scripts && shell functions
  • Setting extra environment variables
    • Make Vim default editor

Repository Overview

Below is an overview of the repository by directory.

  • functions - useful shell functions (commands). Zsh-compatible.
    • pipe - opens named pipe and reads in a loop, closes on SIGINT
    • gdiff - diff with git-like visualization
    • lynxmd - view Markdown from terminal (requires pandoc and lynx)
    • theme - fast switching of oh-my-zsh themes
  • scripts - useful shell scripts (commands). Zsh-compatible.
    • git - git wrapper with useful subcommands
    • bind-dns - runs bind DNS server in docker container
  • util - useful functions for usage in scripts (bash)
    • filesystem
      • abspath
    • network
      • get_ip
    • os
      • is_macos
    • prompt
      • prompt_with_default
      • prompt_for_bool
      • prompt_for_file
      • prompt_for_option
      • prompt_for_multiselect
    • string
      • strip_whitespace
  • term
    • output colors
    • reset_color
  • validation
    • is_valid_ip

About

Collection of shell functions, commands, environment configurations, themes, etc.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages