Show HN: Redo – Command line utility for quickly creating shell functions
1–10 of 32 posts
Re: Show HN: Redo – Command line utility for quickly creating shell functions
#2Re: Show HN: Redo – Command line utility for quickly creating shell functions
#3Re: Show HN: Redo – Command line utility for quickly creating shell functions
#4This looks very cool. I use shell aliases heavily on all my devices and try to avoid typing out the same one-liners more than once or twice when possible.
Re: Show HN: Redo – Command line utility for quickly creating shell functions
#5Re: Show HN: Redo – Command line utility for quickly creating shell functions
#6Re: Show HN: Redo – Command line utility for quickly creating shell functions
#7For commands I use frequently or that are clunky to maintain as one-liners, I'll convert them into functions in my bashrc.
This seems like the best of both worlds in many ways, or at least is a great third option to have.
Re: Show HN: Redo – Command line utility for quickly creating shell functions
#8Currently, I'll append a comment to a frequently used command for easy searching from my history. For a simple example, I can access `git diff -w ; git diff -w --cached # gitdiff` by pressing Ctrl+R and typing `# gitd`. For commands I use frequently or that are clunky to maintain as one-liners, I'll convert them into functions in my bashrc. This seems like the best of both worlds in many ways, or at least is a great…
Re: Show HN: Redo – Command line utility for quickly creating shell functions
#9Currently, I'll append a comment to a frequently used command for easy searching from my history. For a simple example, I can access `git diff -w ; git diff -w --cached # gitdiff` by pressing Ctrl+R and typing `# gitd`. For commands I use frequently or that are clunky to maintain as one-liners, I'll convert them into functions in my bashrc. This seems like the best of both worlds in many ways, or at least is a great…
Interesting way of aliasing right from where you use it! I actually replaced my default shell history search with fuzzy search using ( https://github.com/junegunn/fzf ), I can highly recommend it!
Re: Show HN: Redo – Command line utility for quickly creating shell functions
#10Currently, I'll append a comment to a frequently used command for easy searching from my history. For a simple example, I can access `git diff -w ; git diff -w --cached # gitdiff` by pressing Ctrl+R and typing `# gitd`. For commands I use frequently or that are clunky to maintain as one-liners, I'll convert them into functions in my bashrc. This seems like the best of both worlds in many ways, or at least is a great…