Skip to content

Instantly share code, notes, and snippets.

@hrix
Last active August 29, 2015 14:18
Show Gist options
  • Save hrix/d22ee122b0a2fae9fded to your computer and use it in GitHub Desktop.
Save hrix/d22ee122b0a2fae9fded to your computer and use it in GitHub Desktop.
「tail -f」じゃなくて「less +F」を使うように矯正したいときの.bashrc ref: http://qiita.com/hrix/items/390baf254143baf98c87
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