News for hackers. Stuff that matters.
Re:Ask HN: Best things in your bash_profile/aliases? by objectiveariel on Monday January 14, 2019 @03:56AM (#18901651)
In my bash_profile is a simple echo which makes the shell say hi to me every time I open an instance. Brightens my day a little bit:

  echo 'Hello dude '
As an iOS dev, this one is super useful:

  alias cdd='rm -rf ~/Library/Developer/Xcode/DerivedData/* && echo "Cleared DerivedData/"'
Re:Ask HN: Best things in your bash_profile/aliases? by sleepychu on Monday January 14, 2019 @04:07AM (#18901703)
cdd seems like a bananas alias for something that does an rm -rf!

Have you ever done it by mistake?

Re:Ask HN: Best things in your bash_profile/aliases? by saagarjha on Monday January 14, 2019 @04:13AM (#18901734)
It doesn't really matter; the directory is Xcode's auto-generated build products and can be recreated quite easily.