shml - SHell Markup Language | Style Framework for The Terminal

  •        8

SHML is a shell framework for faster and easier script development. HTML has CSS, terminals have "ANSI/VT100 Control Sequences". SHML makes is easy to apply some style to your shell scripts without trying to remember that Yellow = \033[33m instead Yellow is $(color yellow).

http://shml.xyz/
https://github.com/odb/shml

Tags
Implementation
License
Platform

   




Related Projects

LS_COLORS - A collection of LS_COLORS definitions; needs your contribution!

  •    Shell

This is a collection of extension:color mappings, suitable to use as your LS COLORS environment variable. Most of them use the extended color map, described in the ECMA-48 document; in other words, you'll need a terminal with capabilities of displaying 256 colors. As of this writing, around 300 different filetypes/extensions is supported. That's indeed a lot of extensions, but there's a lot more! Your help is greatly appreciated.

powerline-go - A beautiful and useful low-latency prompt for your shell, written in go

  •    Go

A Powerline like prompt for Bash, ZSH and Fish. Based on Powerline-Shell by @banga. Ported to golang by @justjanne. Each of these will have a number next to it if more than one file matches.

kube-ps1 - Kubernetes prompt info for bash and zsh

  •    Shell

A script that lets you add the current Kubernetes context and namespace configured on kubectl to your Bash/Zsh prompt strings (i.e. the $PS1). Inspired by several tools used to simplify usage of kubectl.

dotfiles - paul's shell, git, etc config files. also homebrew, migration setup. good stuff.

  •    Vim

This repo contains config for bash, zsh, and fish. As of March 2016, I'm using fish shell mostly, but fall back to bash once in a while. The bash and fish stuff are both well maintained; zsh, less so. If you're using fish you'll want to do a git submodule update --init. So many goodies.

bash-preexec - ⚑ preexec and precmd functions for Bash just like Zsh.

  •    Shell

preexec and precmd hook functions for Bash in the style of Zsh. They aim to emulate the behavior as described for Zsh. You'll want to pull down the file and add it to your bash profile/configuration (i.e ~/.bashrc, ~/.profile, ~/.bash_profile, etc). It must be the last thing imported in your bash profile.


rickrollrc - Rick Astley invades your terminal.

  •    Shell

Bash script which rickrolls your terminal by playing Rick Astley’s “Never Gonna Give You Up” with ANSI 256-color coded UTF-8 characters + audio (if available). For a salutary lesson in the importance of taking care what you execute in your terminal, inspired by the classic sl, save the command in a shell script called suod somewhere on your PATH. It’s recommended to download the script for faster startup, to avoid spoiling the surprise when you accidentally execute it for the nth time (and also, unless you really like living dangerously, for security, in case we are demonically possessed to replace roll.sh with something evil).

hstr - Bash and zsh shell history suggest box - easily view, navigate, search and manage your command history

  •    C

Easily view, navigate and search your command history with shell history suggest box for Bash and zsh. HSTR (HiSToRy) is a command line utility that brings improved Bash command completion from the history. It aims to make completion easier and more efficient than Ctrlr.

direnv - Unclutter your .profile

  •    Go

direnv is an environment switcher for the shell. It knows how to hook into bash, zsh, tcsh, fish shell and elvish to load or unload environment variables depending on the current directory. This allows project-specific environment variables without cluttering the ~/.profile file. Before each prompt, direnv checks for the existence of a ".envrc" file in the current and parent directories. If the file exists (and is authorized), it is loaded into a bash sub-shell and all exported variables are then captured by direnv and then made available to the current shell.

gradle-completion - Gradle tab completion for bash and zsh

  •    Shell

Bash and Zsh completion support for Gradle. It also handles custom default build files, so rootProject.buildFileName = 'build.gradle.kts' is supported.

sh - A shell parser, formatter and interpreter (POSIX/Bash/mksh)

  •    Go

A shell parser, formatter and interpreter. Supports POSIX Shell, Bash and mksh. Requires Go 1.8 or later.shfmt formats shell programs. It can use tabs or any number of spaces to indent. See canonical.sh for a quick look at its default style.

bash-powerline - Powerline-style Bash prompt in pure Bash script

  •    Shell

Powerline for Bash in pure Bash script. For best result, use Solarized colorscheme for your terminal emulator. Or hack your own colorscheme by modifying the script. It's really easy.

colorful - Terminal string styling done right, in Python :snake: :tada:

  •    Python

Note: on a Windows system it will install colorama as a dependency to ensure proper ANSI support. These days terminals not only support the ancient 8 ANSI colors but often they support up to 16 Million colors with true color. And if they don't support true color they might support the 256 ANSI color palette at least.

athame - Full vim for your shell (bash, zsh, gdb, python, etc)

  •    C

Athame patches your shell to add full Vim support by routing your keystrokes through an actual Vim process. Athame can currently be used to patch readline (used by bash, gdb, python, etc) and/or zsh (which doesn't use readline). Yes, and if you're fine with basic vi imitations designed by a bunch of Emacs users, feel free to use them. ...but for the true Vim fanatics who sacrifice goats to the modal gods, Athame gives you the full power of Vim.

nord-iterm2 - An arctic, north-bluish clean and elegant iTerm2 color scheme.

  •    

An arctic, north-bluish clean and elegant iTerm2 color scheme. Designed for a fluent and clear workflow. Based on the Nord color palette.

bash-oo-framework - Bash Infinity is a modern boilerplate / framework / standard library for bash

  •    Shell

Bash Infinity is a standard library and a boilerplate framework for writing tools using bash. It's modular and lightweight, while managing to implement some concepts from C#, Java or JavaScript into bash. The Infinity Framework is also plug & play: include it at the beginning of your existing script to import any of the individual features such as error handling, and start using other features gradually. The aim of Bash Infinity is to maximize readability of bash scripts, minimize the amount of code repeat and create a central repository for well-written, and a well-tested standard library for bash.

shx - Portable Shell Commands for Node

  •    Javascript

shx is a wrapper around ShellJS Unix commands, providing an easy solution for simple Unix-like, cross-platform commands in npm package scripts.This will allow using shx in your package.json scripts.

acme.sh - A pure Unix shell script implementing ACME client protocol

  •    Shell

It's probably the easiest & smartest shell script to automatically issue & renew the free certificates from Let's Encrypt.

colorls - A Ruby gem that beautifies the terminal's ls command, with color and font-awesome icons

  •    Ruby

A Ruby script that colorizes the ls output with color and icons. Here are the screenshots of working example on an iTerm2 terminal (Mac OS), oh-my-zsh with powerlevel9k theme and powerline nerd-font + awesome-config font with the Solarized Dark color theme.If you're interested in knowing the powerlevel9k configuration to get this prompt, have a look at this gist.

closh - Bash-like shell based on Clojure

  •    Clojure

Closh combines the best of traditional unix shells with the power of Clojure. It aims to be a modern alternative to bash. Warning: Closh is still in a early stage and under a heavy development. It is not ready for daily use yet since it is quite easy to get it to crash. At this moment I am most interested in gathering feedback and use cases to help make the best possible design trade-offs. Closh is tested on Linux, should run on macOS too. Windows who knows.





We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.