Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
albertodonato committed Feb 5, 2024
1 parent d504b04 commit 3cf76e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion bin/make-filedisk
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
#!/bin/bash -e
#
# Create a file to be used as a block device.

SCRIPT="$(basename "$0")"

Expand All @@ -11,5 +13,5 @@ disk="$1"
size="${2:-1024}"

touch "$disk"
chattr +C "$disk" # ensure no COW is used
chattr +C "$disk" # ensure COW is not used
dd if=/dev/zero of="$disk" bs="${size}k" count=1024
2 changes: 1 addition & 1 deletion bin/pb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -e
#
# Pastebinit input and copies the resulting url to clipboard (if under tmux).
# Pastebin the input and copy the resulting URL to clipboard (if under tmux).
#
# Usage: <cmd> | pb [pastebinit options...]

Expand Down

0 comments on commit 3cf76e9

Please sign in to comment.