Useful every day Unix / Python shell aliases that will speed up your developer workflow



Useful every day Unix / Python shell aliases that will speed up your developer workflow

Useful every day Unix / Python shell aliases that will speed up your developer workflow

A few days ago we did a video on making a shell alias (function) to open a repo from the output of git remote -v.

Today a follow up video with a bunch of useful shell aliases I (Bob) use regularly and which make me a faster developer 💡

I put them all in one gist here listing dependencies as well: https://gist.github.com/bbelderbos/3069c087af95ce756facf1712d501b7d
(I am on a Mac, I have not tested this with Linux or Windows …)

Curious to hear what shell aliases you commonly use? 💡

Few extra notes:
– When I ran “src” (to “source” my .zshrc config file), at minute 4:28, the cow quote is a program called “cowsay” = this line in my .zshrc file: cowsay “Keep calm and code in Python!” 😎

– If you want to help me debugging the pybites-carbon issue (minute 11:46), you can do so here: https://github.com/PyBites-Open-Source/pybites-carbon/issues/11 🙏

– Minute 13:25 – you see me run commands in () – this is a “subshell” which creates a separate process, so when I cd into a project folder, I don’t end up in that folder in my shell after running the alias (no side effects), which is nice.


Mentioned + related videos
– A bit of shell scripting goes a long way (how to keep track of too many GitHub repos? https://www.youtube.com/watch?v=xd89ANmrEXA (the previous video)
– How we make our own thumbnail images using Python: https://www.youtube.com/watch?v=qV8JSojMHEg
– Read Python source code with the inspect module: https://www.youtube.com/watch?v=iQJj5rp22-k

Two older related trainings:
– PyBites Git Tricks Training: https://www.youtube.com/watch?v=7ZQ9q7Cd9b0
– 9 Command Line Tips every developer should know: https://www.youtube.com/watch?v=PiVOxEsr-Ag


Learn more about Pybites / what we do: https://pybit.es

Get our weekly developer / mindset emails: https://pybit.es/friends/

Join our Slack community: https://pybit.es/community/

And last but not least, we appreciate any feedback to make our YouTube content better 💡
https://form.jotform.com/230941798741062 🙏

Comments are closed.