Skip to content

Instantly share code, notes, and snippets.

@jmfayard
Last active May 6, 2021
Embed
What would you like to do?
Command line tools that spark joy
#!/usr/bin/env bash -x
# > CLI tool that sparks joy
#
# stedolan/jq: Command-line JSON processor](https://github.com/stedolan/jq)
# direnv/direnv: unclutter your .profile](https://github.com/direnv/direnv)
# jonas/tig: Text-mode interface for git](https://github.com/jonas/tig)
# tmux/tmux: tmux source code](https://github.com/tmux/tmux)
# santinic/how2: stackoverflow from the terminal](https://github.com/santinic/how2)
# BurntSushi/ripgrep: ripgrep recursively searches directories for a regex pattern while respecting your gitignore](https://github.com/BurntSushi/ripgrep)
# sharkdp/bat: A cat(1) clone with wings.](https://github.com/sharkdp/bat)
# junegunn/fzf: A command-line fuzzy finder](https://github.com/junegunn/fzf)
# sharkdp/fd: A simple, fast and user-friendly alternative to 'find'](https://github.com/sharkdp/fd)
# jq - jq is a lightweight and flexible command-line JSON processor.](https://stedolan.github.io/jq/)
# wting/autojump: A cd command that learns - easily navigate directories from the command line](https://github.com/wting/autojump)
# direnv/direnv: unclutter your .profile](https://github.com/direnv/direnv)
# jonas/tig: Text-mode interface for git](https://github.com/jonas/tig)
# github/hub: A command-line tool that makes git easier to use with GitHub.](https://github.com/github/hub)> [neovim/neovim: Vim-fork focused on extensibility and usability](https://github.com/neovim/neovim)
# [jesseduffield/lazygit: simple terminal UI for git commands](https://github.com/jesseduffield/lazygit#homebrew)
NPM="how-2 "
PROGRAMS="hub httpie ripgrep bat fzf fd fd-find jq autojump direnv tig tmux neovim exa lazygit"
alias INSTALLER="sudo apt-get" # on Debian/Ubuntu
export INSTALLER="brew" # on macOS
for program in $PROGRAMS ; do $INSTALLER install $program ; done
for program in $NPM ; do npm install -g $program ; done
## Put in .bash_profile or .zshrc
alias ls=exa
alias cat=bat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment