My terminal is procrastinating πŸ™„

Reduce terminal instance boot time

I made my terminal boot procrastinate for efficiency!

thefuck

From thefuck documentation
function fuck {
eval "$(thefuck --alias)"
eval "fuck $@"
}
  1. Setup thefuck with fuck alias (overrides this function).
  2. Trigger fuck with all the passed in arguments.

nvm

  1. Unset all commands in the list (plus the nvm_load command)
  2. Load up NVM
  3. Call the original command with all arguments
cd() {
dir=$@
: ${dir:=~}

builtin cd $dir
if [ -f ".nvmrc" ]; then
nvm use
fi
}

--

--

I woke up like this

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store