
3 changed files with 14 additions and 0 deletions
@ -0,0 +1,2 @@ |
|||||
|
#!/bin/bash |
||||
|
ls -lhAF --color=auto "$@" |
@ -0,0 +1,2 @@ |
|||||
|
#!/bin/bash |
||||
|
rsync -vaSH "$@" |
@ -0,0 +1,10 @@ |
|||||
|
#!/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