All Projects → eth-p → Bat Extras

eth-p / Bat Extras

Licence: mit
Bash scripts that integrate bat with various command line tools.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to Bat Extras

Unity Mulligan Renamer
Mulligan Renamer tool for the Unity Editor allows for quick and safe renaming of many assets and gameobjects at once
Stars: ✭ 315 (-1.56%)
Mutual labels:  hacktoberfest
React Coverflow
A Coverflow effect component of React version made for the web.
Stars: ✭ 318 (-0.62%)
Mutual labels:  hacktoberfest
50 Projects For React And The Static Web
⚛ 50 project ideas to learn by doing complete with project briefs, layout ideas, and resources!
Stars: ✭ 319 (-0.31%)
Mutual labels:  hacktoberfest
Eggdrop
The Eggdrop IRC Bot
Stars: ✭ 314 (-1.87%)
Mutual labels:  hacktoberfest
Rsync Homedir Excludes
Stars: ✭ 317 (-0.94%)
Mutual labels:  hacktoberfest
Open Source Xamarin Apps
📱 Collaborative List of Open Source Xamarin Apps
Stars: ✭ 318 (-0.62%)
Mutual labels:  hacktoberfest
Bash.py
An inline Bash script runner, for Python.
Stars: ✭ 316 (-1.25%)
Mutual labels:  hacktoberfest
Cri O
Open Container Initiative-based implementation of Kubernetes Container Runtime Interface
Stars: ✭ 3,758 (+1074.38%)
Mutual labels:  hacktoberfest
Aws Sdk Ruby
The official AWS SDK for Ruby.
Stars: ✭ 3,328 (+940%)
Mutual labels:  hacktoberfest
Easybuild
EasyBuild - building software with ease
Stars: ✭ 321 (+0.31%)
Mutual labels:  hacktoberfest
Pybombs
PyBOMBS (Python Build Overlay Managed Bundle System) is the GNU Radio install management system for resolving dependencies and pulling in out-of-tree projects.
Stars: ✭ 316 (-1.25%)
Mutual labels:  hacktoberfest
Statusstories
Status Stories = Snapchat stories, Instagram stories, Whatsapp Statuses, Facebook Messenger Stories.
Stars: ✭ 317 (-0.94%)
Mutual labels:  hacktoberfest
Rel
💎 Modern Database Access Layer for Golang - Testable, Extendable and Crafted Into a Clean and Elegant API
Stars: ✭ 317 (-0.94%)
Mutual labels:  hacktoberfest
Pokedex Promise V2
An easy way to use pokeapi v2 with promises in node.js
Stars: ✭ 315 (-1.56%)
Mutual labels:  hacktoberfest
Todocheck
A static code analyzer for annotated TODO comments
Stars: ✭ 322 (+0.63%)
Mutual labels:  hacktoberfest
Discord bot.py
🍺 A simple discord bot that helps you getting started within discord.py
Stars: ✭ 313 (-2.19%)
Mutual labels:  hacktoberfest
Consulate
Python client for the Consul HTTP API
Stars: ✭ 319 (-0.31%)
Mutual labels:  hacktoberfest
Oauth2 Proxy
A reverse proxy that provides authentication with Google, Azure, OpenID Connect and many more identity providers.
Stars: ✭ 4,511 (+1309.69%)
Mutual labels:  hacktoberfest
Umbraco Cms
The simple, flexible and friendly ASP.NET CMS used by more than 730.000 websites
Stars: ✭ 3,484 (+988.75%)
Mutual labels:  hacktoberfest
Graphicaltools
Modules that mix PowerShell and GUIs/CUIs! - built on Avalonia and gui.cs
Stars: ✭ 318 (-0.62%)
Mutual labels:  hacktoberfest

bat-extras

Bash scripts that integrate bat with various command line tools.

 

Scripts

batgrep

Quickly search through and highlight files using ripgrep. Requirements: ripgrep

batman

Read system manual pages (man) using bat as the manual page formatter.

batwatch

Watch for changes in one or more files, and print them with bat. Requirements: entr (optional)

batdiff

Diff a file against the current git index, or display the diff between two files. Requirements: bat, delta (optional)

prettybat

Pretty-print source code and highlight it with bat. Requirements: (see doc/prettybat.md)

 

Installation via Package Manager

Homebrew: brew install eth-p/software/bat-extras

 

Installation (CircleCI)

The scripts in this repository are designed to run as-is, provided that they aren't moved around. This means that you're free to just symlink src/[script].sh to your local bin folder.

If you would rather have faster, self-contained scripts that you can place and run anywhere, you can use the build.sh script to create (and optionally install) them.

 

Building:

./build.sh [OPTIONS...]

This will combine and preprocess each script under the src directory, and create corresponding self-contained scripts in the bin folder. Any library scripts that are sourced using source "${LIB}/[NAME].sh" will be embedded automatically.

 

Minification:

There are three different options for minification:

Option Description
--minify=none Nothing will be minified.
--minify=lib Embedded library scripts will be minified. [default]
--minify=all Everything will be minified.

This uses shfmt to perform minification.

 

Installation:

You can also specify --install and --prefix=PATH to have the build script automatically install the scripts for all users on the system. You may need to run the build script as root.

If you only want to install a single script, you can run the build process and copy the script directly out of the newly-created bin folder.

Manuals: (EXPERIMENTAL)

You can specify --manuals to have the build script generate a man page for each of the markdown documentation files. This is an experimental feature that uses a non-compliant Markdown "parser" written in Bash, and there is no guarantee as for the quality of the generated manual pages.

Alternate Executable:

Depending on the distribution, bat may have been renamed to avoid package conflicts. If you wish to use these scripts on a distribution where this is the case, there is an --alternate-executable=NAME option which will build the scripts to use an alternate executable name.

Verification:

The build script will attempt to verify the correctness of the "bin" scripts by comparing their output with their source counterparts. It is recommended to let it do this, but you can disable verification with the --no-verify option.

 

Contributing

If you would like to contribute to bat-extras, please feel free to open an issue on GitHub, or make a pull request. If you do the latter, please keep our contributing guidelines in mind.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].