The initial source comes from sdcuike/issueBlog#4
https://github.com/PacktPublishing free to download books code by Packet
https://love2.io Chinese site
/* | |
[built-in defaults] | |
a_autoTrim = on | |
a_batchLines = 10ms | |
a_controlDelay = 20 | |
a_coordModeCaret = screen | |
a_coordModeMenu = screen | |
a_coordModeMouse = screen | |
a_coordModePixel = screen | |
a_coordModeToolTip = screen |
# ANSI Start Codes | |
# Styles. | |
Normal="\x1b[0m" | |
Bold="\x1b[1m" | |
Faint="\x1b[2m" | |
Italic="\x1b[3m" | |
Underline="\x1b[4m" | |
Blink_Slow="\x1b[5m" | |
Blink_Rapid="\x1b[6m" |
https://github.com/PacktPublishing free to download books code by Packet
https://love2.io Chinese site
# Put this function to your .bashrc file. | |
# Usage: mv oldfilename | |
# If you call mv without the second parameter it will prompt you to edit the filename on command line. | |
# Original mv is called when it's called with more than one argument. | |
# It's useful when you want to change just a few letters in a long name. | |
function mv() { | |
if [ "$#" -ne 1 ]; then | |
command mv "$@" | |
return |