Skip to content

Commit

Permalink
add pint fmt, fix copy buf name new line
Browse files Browse the repository at this point in the history
  • Loading branch information
mantas6 committed Jan 28, 2025
1 parent be43ef6 commit 79e3671
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions mods/base/.local/share/scripts/fmt-pint
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env sh

dir=$(dirname "$(readlink "$(which zero)")")

"$dir/vendor/bin/pint" "$@"
4 changes: 2 additions & 2 deletions mods/base/.local/share/scripts/xc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Copy from clipboard

if [ "$(uname)" = "Darwin" ]; then
cat | pbcopy
printf "%s" "$(cat)" | pbcopy
else
cat | xclip -selection c -i
printf "%s" "$(cat)" | xclip -selection c -i
fi
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
namespace App\Commands;

use Exception;
use Illuminate\Support\Stringable;
use LaravelZero\Framework\Commands\Command;
use PhpParser\Error;
use PhpParser\Node\Name;
use PhpParser\Node\Stmt\Class_;
use PhpParser\Node\Stmt\ClassLike;
use PhpParser\Node\Stmt\Namespace_;
use PhpParser\NodeTraverser;
Expand Down

0 comments on commit 79e3671

Please sign in to comment.