Skip to content

Instantly share code, notes, and snippets.

@jmfayard
Last active October 22, 2022 19:46
Show Gist options
  • 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