mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Added a log for sprunge links. No need to re-make them anymore :D Well, unless you have updated it.
This commit is contained in:
parent
10272b9aa4
commit
d39d26b8fe
1 changed files with 2 additions and 1 deletions
|
|
@ -62,7 +62,8 @@ sprunge() {
|
||||||
|
|
||||||
# output each url on its own line
|
# output each url on its own line
|
||||||
for url in $urls
|
for url in $urls
|
||||||
echo $url
|
echo $url && echo $url >> "$OMZ/sprunge.log"
|
||||||
|
|
||||||
|
|
||||||
# don't copy to clipboad if piped
|
# don't copy to clipboad if piped
|
||||||
[[ -t 1 ]] && sendtoclip $urls
|
[[ -t 1 ]] && sendtoclip $urls
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue