Created
April 9, 2013 14:11
-
-
Save icholy/5345962 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# show welcome message | |
ZSH_HINTS=() | |
ZSH_HINTS+=("CTRL + A Move to the beginning of the line") | |
ZSH_HINTS+=("CTRL + E Move to the end of the line") | |
ZSH_HINTS+=("CTRL + [left arrow] Move one word backward (on some systems this is ALT + B)") | |
ZSH_HINTS+=("CTRL + [right arrow] Move one word forward (on some systems this is ALT + F)") | |
ZSH_HINTS+=("CTRL + U (bash) Clear the characters on the line before the current cursor position") | |
ZSH_HINTS+=("CTRL + U (zsh) If you're using the zsh, this will clear the entire line") | |
ZSH_HINTS+=("CTRL + K Clear the characters on the line after the current cursor position") | |
ZSH_HINTS+=("C + [backspace] Delete the word in front of the cursor") | |
ZSH_HINTS+=("CTRL + W Delete the word in front of the cursor") | |
ZSH_HINTS+=("ALT + D Delete the word after the cursor") | |
ZSH_HINTS+=("CTRL + R Search history") | |
ZSH_HINTS+=("CTRL + G Escape from search mode") | |
ZSH_HINTS+=("CTRL + _ Undo the last change") | |
ZSH_HINTS+=("CTRL + L Clear screen") | |
ZSH_HINTS+=("CTRL + S Stop output to screen") | |
ZSH_HINTS+=("CTRL + Q Re-enable screen output") | |
ZSH_HINTS+=("CTRL + C Terminate/kill current foreground process") | |
ZSH_HINTS+=("CTRL + Z Suspend/stop current foreground process") | |
cowsay ${ZSH_HINTS[$(($(($RANDOM % ${#ZSH_HINTS})) + 1))]} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment