Last active
August 29, 2015 14:18
-
-
Save hrix/d22ee122b0a2fae9fded to your computer and use it in GitHub Desktop.
「tail -f」じゃなくて「less +F」を使うように矯正したいときの.bashrc ref: http://qiita.com/hrix/items/390baf254143baf98c87
This file contains hidden or 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
tail () { | |
if [ "$1" = "-f" ];then | |
echo 'tail -f より less +F の方が機能が多くていいですよ' | |
echo 'Use `less +F`' | |
else | |
/usr/bin/tail $* | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment