
1 changed files with 0 additions and 10 deletions
@ -1,10 +0,0 @@ |
|||
#!/bin/bash |
|||
|
|||
# if $1 is a text file, less it |
|||
if file "$1" | grep -q text; then |
|||
less -FRX "$1" |
|||
|
|||
# otherwise, just dir it |
|||
else |
|||
ls -lhAF --color=auto "$@" |
|||
fi |
Loading…
Reference in new issue