Restructuring the repo
This commit is contained in:
parent
21e3cf65e6
commit
3d67598c27
45 changed files with 368 additions and 77 deletions
14
bin/autoless
14
bin/autoless
|
@ -1,14 +0,0 @@
|
|||
#!/bin/zsh
|
||||
if [[ -n "$@" ]]; then
|
||||
out=$(<"$@")
|
||||
else
|
||||
out=$(cat)
|
||||
fi
|
||||
((lim=$LINES-1))
|
||||
numlines=$(echo $out | wc -l)
|
||||
if (( $numlines > $lim ))
|
||||
then
|
||||
echo $out | less -R
|
||||
else
|
||||
echo $out
|
||||
fi
|
Loading…
Add table
Add a link
Reference in a new issue