SHARE WITH THE CLASS: What aliases are you using?
SHARE WITH THE CLASS: What aliases are you using?
From bash to zsh and everywhere in between, show me yours and I'll show you mines. Inspire others or get some feedback.
Simply copy & paste the output of alias in your terminal or add some comments to explain things for others.
Edit: Kbin users, click 'More' on a comment and use the fediverse link to read responses that have funky formatting
You're viewing a single thread.
View all comments
114
comments
the only thing this does is add "--recursive" to every
git clone
invocationgit() { if [ "$1" = clone ]; then shift set -- clone --recursive "$@" fi command git "$@" }
5 0 Replysame for gh (github cli)
gh() { if [[ "$1" = repo && "$2" = clone ]]; then shift shift set -- repo clone "$@" -- --recursive fi command gh "$@" }
2 0 Reply
You've viewed 114 comments.
Scroll to top