Put joy and productivity inside your Terminal with those cool command line tools.
But before we start, let's cover how you can install and uninsta...
For further actions, you may consider blocking this person and/or reporting abuse
TUI file managers such as
nnn
(github.com/jarun/nnn, minimalistic, my favourite) orlf
(github.com/gokcehan/lf/, a more interactive one)delta
, more limited than lazygit, focused on just diffs, but it does it really really well, and can be a nice complement (github.com/dandavison/delta)glow
terminal markdown renderer (github.com/charmbracelet/glow): some might think this is superfluous, because markdown is supposed to be meaningfully readable as plain text, but I often find poorly formatted files, sometimes "augmented" with a lot of inline HTML, to the point of becoming impossible to parse for the human eyeSpeaking of creating your own cli tools. I would like to share something cool: a scripting language called ABS.
This is why I think is cool.
Here is a little snippet.
I wrote about this language a few years ago, here is the post if anyone is interested.
I like this a lot because it allows people who are familiar with a languages like javascript or PHP (that would be me) to write shell scripts in a way that feels comfortable.
If
bat
looks appealing to you and you happen to be a Vim user, you might want to consider runningview /path/to/file
instead ofbat
. It'll open any file as readonly in Vim, with all your favorite plugins like Git integration present. Instead of piping to| less
, you could also pipe to| view -
. You may have to enter something like:set syntax=json
if the syntax isn't autodetected based on content, although there's probably a simple setting or plugin to enable autodetection.If you're not a Vim user and you want something that works with zero configuration,
bat
seems like a good choice!jump
(github.com/gsamokovarov/jump) is in my opinion a better alternative toautojump
I personally prefer
jump
because it's actively maintained, but especially because β like all modern tools listed here β it's a standalone executable that does not require Pythonit works really well, the author says it can "read his mind" and I tend to agree π
Thanks, I've added the suggestion!
Iβm using ripgrep and bat daily, and they make everything just that much better.
Another tool Iβm using a lot is Just. I might have processes which need a number of steps, or building a project with a lot of arguments. I can abstract it all away and use something like βjust buildβ instead.
github.com/casey/just
I started using just in my own project, thanks, it's nice!
github.com/jmfayard/refreshVersion...
thanks, I've added the suggestion
Hey! I made this CLI tool called fcd which replaces the cd command. It basically searches for wherever you are trying to cd and then copies the appropriate cd command to your clipboard.
SiddharthShyniben / fcd
Faster cd-ing.
fcd
Better
cd
ing for macOSExplore the docs Β»
Report Bug Β· Request Feature
Table of Contents
About The Project
fcd
is a utility which helps youcd
faster on macOS.Ever had to type out a long
cd ~/Sites/Projects/project
, find out the path is wrong, rewrite it tocd ~/Sites/Sandbox/project
? You just wasted a minute or two. This inspired me to create this tool:fcd
.fcd
automatically reads the dirname and the basename of the input and searches for any folder with basename as the name in the dirname folder (Basically, if you input"some/where/else"
, the program returns the path to"some/where/**/else"
). Once it finishes:I wanted to implement autojump like functionality ever since I made fcd.
If you want exa to behave just like ls, so that you do not need to learn any new switches, I have made this wrapper script:
gist.github.com/eggbean/74db77c4f6...
I've found lazygit to be quite handy, myself.
github.com/jesseduffield/lazygit
I've tried it and love it, thanks!
Z is similar to autojump & works great for me.