Today I learned
  • Home
  • Github
  • Linkedin
  • Nomad Life(Travel Blog)
Subscribe
Tagged

terminal

A collection of 2 posts

shell

RVM error when starting zsh __rvm_cleanse_variables: function definition file not found

I was getting this error when opening new zshell: __rvm_cleanse_variables: function definition file not found command not found: rvm_error Running the following solved the problem: rm -f ~/.zcompdump* Note: The * is incase there are multiple .zcompdump files. So what goes behind the scenes: ZSH uses compinit to

  • Manu S Ajith
Manu S Ajith Apr 22, 2016 • 1 min read
shell

Run the last shell command with sudo

I often an into the situation where I type in a long command, hit enter and then figure out that I needed to run that command as root user. Instead of typing the same command with sudo prefixed we can do the same thing using a shortcut. To run the

  • Manu S Ajith
Manu S Ajith Feb 16, 2016 • 1 min read
Today I learned © 2022
Powered by Ghost