Skip to content

Instantly share code, notes, and snippets.

@rohithmeethal
Created April 18, 2020 15:00
Show Gist options
  • Save rohithmeethal/299583e0089250183c5bf8569205ae85 to your computer and use it in GitHub Desktop.
Save rohithmeethal/299583e0089250183c5bf8569205ae85 to your computer and use it in GitHub Desktop.
#!/bin/bash
export TERM=xterm-256color
function tinkerwatch(){
clear;
tail -n $(expr $(wc -l $1 | awk '{ print $1 }') - 1) $1 | php artisan tinker
}
tinkerwatch $1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment