Skip to content

Insults the user when they execute wrong command

Notifications You must be signed in to change notification settings

NoobGajen/zsh-insulter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 

Repository files navigation

zsh-insulter

Randomly insults the user when they type wrong command. This is heavily based on hkbakke's work.

Change insults as needed :)

zshInsults

Installation

git clone https://github.com/NoobGajen/zsh-insulter.git ~/.zsh-insulter
grab the zsh.command-not-found and paste it where-ever you want. 
(e.g. ~/.zsh-insulter to keep it for you. and not bothering other users)

Then source the file automatically for new logins by adding the following to /etc/bash.bashrc for bash and ~/.zshrc for zsh:

if [ -f ~/.zsh-insulter/src/zsh.command-not-found ]; then
    . ~/.zsh-insulter/src/zsh.command-not-found
fi

Start a new zsh shell and type some invalid commands for the effects to be visible.

About

Insults the user when they execute wrong command

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published