develwoutacause’s avatardevelwoutacause’s Twitter Archive—№ 595

  1. …in reply to @EmmaBostian
    @EmmaBostian Pro tip, instead of: cd foo; bar Do: (cd foo; bar) The parentheses makes a subshell which changes directory. After the alias executes, you'll still be in your original directory and can use the alias again without awkwardly cd-ing back to where you started.