Skip to content

christianbundy/shit

Folders and files

NameName
Last commit message
Last commit date
Oct 29, 2014
Dec 23, 2014
Oct 29, 2014

Repository files navigation

Shit

For when you forget to use sudo.

Installation

Append the alias to your .zshrc.

curl -sSL https://raw.githubusercontent.com/christianbundy/shit/master/shit.zsh >> $HOME/.zshrc

Usage

  1. Do something wrong, like try to update your package cache without root priveleges.
  2. Shit.
[user@host] $ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?

[user@host] $ shit
0% [Connecting to archive.ubuntu.com] [Connecting to security.ubuntu.com]

Support

Please open an issue for questions and concerns.

Contributing

Fork the project, commit your changes, and open a pull request.

About

Sudo History Invocation Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages