Skip to content

Commit 81b733c

Browse files
committed
minor formatting changes to code, updated man pages, and bumped version
1 parent 4ca0fc7 commit 81b733c

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: tmpmail

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# Dependencies: jq, curl, w3m
66
#
77

8-
version=1.2.0
8+
version=1.2.1
99

1010
# By default 'tmpmail' uses 'w3m' as it's web browser to render
1111
# the HTML of the email
@@ -288,11 +288,13 @@ view_recent_email() {
288288
view_email "$mail_id"
289289
}
290290

291+
291292
copy_email_to_clipboard(){
292293
# Copy the email thats being used to the user's clipboard
293294
$copy_to_clipboard_cmd < $tmpmail_email_address
294295
}
295296

297+
296298
die() {
297299
# Print error message and exit
298300
#

Diff for: tmpmail.1

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ shows the email message with specified
2929
Specify
3030
.Ar BROWSER
3131
(default: w3m) that is used to render the HTML of the email
32+
.It Fl Fl clipboard-cmd Ar COMMAND
33+
Specify the COMMAND to use for copying the email address to your
34+
clipboard (default: xclip -selection c)
3235
.It Fl g , Fl Fl generate Op Ar ADDRESS
3336
Generate a new email address, either the specified
3437
.Ar ADDRESS ,

0 commit comments

Comments
 (0)