Skip to content

Instantly share code, notes, and snippets.

@jmfayard
Last active October 22, 2022 19:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jmfayard/6008132152b1cec0c0c21d4f57243f7f to your computer and use it in GitHub Desktop.
Save jmfayard/6008132152b1cec0c0c21d4f57243f7f to your computer and use it in GitHub Desktop.
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