jason810496 / Rick-Roll-Shell

Setup Rick Roll Shell in your friend's Terminal in a second!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Rick Roll Shell

中文

Set up Rick Roll for common shell in a second !

Your friend got Rickrolled when logging into the shell :-)

Demo Gif

Usage

Setup Rick Roll Shell in your friend's Terminal in a second!

Syntax: rick.sh [options...]

Options:
  -h, --help     display this help and exit
  -s, --shell    select shell type {bash,zsh,csh,ksh,tcsh,fish}
  -f, --folder   select dot folder to hide rickroll.sh (defult: ~/.vim folder)
  -c, --config   select shell configuration file
  -r, --roll     run rickroll.sh

Description:

Add "$SHELL /path/to/.FOLDER/rickroll.sh" to the beginning of shell configuration file
rickroll.sh will be copy to /path/to/.FOLDER folder

Example:

./rick.sh <enter> # interative mode
./rick.sh -s zsh -f ~/.vim -c ~/.zshrc # setup with options
./rick.sh --shell bash --folder ~/project/.vscode --config ~/.bashrc # setup with long options
./rick.sh -s bash -f ~/.npm # use defult bash configuration file ( ~/.bashrc)

About

Setup Rick Roll Shell in your friend's Terminal in a second!

License:MIT License


Languages

Language:Shell 100.0%