Everyone has their favourite aliases for git and the shell. I have written about my git aliases before but not my shell aliases.
...
For further actions, you may consider blocking this person and/or reporting abuse
Love this! I have some of my own collection as well. A mix of alias and functions.
I also use oh-my-zsh, with many of it's oh-my-zsh plugins. it's osx plugin is pretty awesome when working on mac, giving you ability to open current paths in the finder, or getting the current selected file in the finder, as a path in the terminal.
There are so many pluigns, you'll have to check out the oh-my-zsh plugins list.
Definitely stealing those
ffmpeg
lines.please do! they helped me a lot.
Why not?
Hell yes. I still haven't outgrown my Gentoo phase, so I update with
u
:On my aging laptop running Void:
There's also this monstrosity for building a new kernel in
/root/.bashrc
:I'm not even sorry. I had a similar line for cleaning up artifacts from an old kernel but it got gross enough to merit its own script.
In a similar vein to
eup
foremerge
, there's Rust and OCaml toolchains:My Bash Equivalent aliases
My Fish functions (What fish uses instead of Alias)
I don't believe in one character aliases. I utilize tabs to reduce keystrokes. My aliases are some per-configuration for tools. And some personalized tools are prefixed with
fl_
or withflp_
I also have some utility functions like
I use
g
for git as well. 🔥 I updated the post. I must have missed that line as I was only copying part of my .zshrc file. 🙃Ubuntu update on demand:
Open this alias file (I use Visual Studio Code, hence the
code
):Load aliases:
Here's mine
If you're wondering what Edge doing in there, I decided to take it for a spin for the next little while as it is a new browser on the block.
It is Chromium-based, so I expect it to pretty much behave like Chrome, and Brave, another browser I was using. I am still curious what will make someone grab one Chromium browser over the other. I wrote about it here.
The Chromium Browser Wars
Nick Taylor ・ May 21 ・ 2 min read
I think in the case of Edge, most people that get new PC laptops/desktops will probably just go with it unless they are already a die hard Chrome fan, but we will see.
zshconfig
saves one character fromvi ~/.zshrc
at the expense of having a command that only works on your own systems.That
edge
one makes sense, though.alias fu=‘sudo $( fc -ln -1 )’
that is, “what i just said but with sudo at beginning now will you do it”
lias chrome=
should bealias chrome
.alias eat='rm -rf'