DEV Community

Discussion on: What are your preferred bash aliases?

Collapse
 
wulymammoth profile image
David • Edited

Do you have these functions in a public repository? I'd love to check them out.

I've a handful of functions that I rarely use anymore like one that took an argument like docs mdn that would open my browser to Mozilla's documentation and docs til that would open my TIL (today I learned) repository on GitHub with rendered markdown.

I've only a handful of aliases as well allowing me to jump around (change dirs) into personal or work, and my dotfiles along with a couple more just masking other commands, like alias vim=nvim since I use Neovim and alias make=mmake (Modern Make)

I keep a long history and much prefer using reverse-i-search to dig up a command that I use somewhat frequently

Collapse
 
thefluxapex profile image
Ian Pride • Edited

I do actually plan on a Shell section on my main misc programming GitHub IO site that has lots of it organized, but it's still "under construction" lol. In the next couple of days I'll make a copy and clean lots of crap and redundancy out of it and put it up in a temp repo and post it back here.

I use history/fzf, but I have extra laptops that I'm always testing distros on and so I always just import my dots, but yeah I'm constantly doing Ctrl+r; FZF is just amazing.

Thread Thread
 
wulymammoth profile image
David

Don’t have to mention fzf twice. It’s a must have both in my shell and Vim coupled with ripgrep. Ah! You’re a distro junkie! Haven’t settled on Arch or Gentoo?

Thread Thread
 
thefluxapex profile image
Ian Pride

I try anything out, but stick to Debian based. Ubuntu on main/family member machines usually. I do have a soft spot for Bodhi with Enlightenment.