ミラー元
https://tildegit.org/ben/dotfiles.git
前回の同期 2025-08-10 05:02:03 +00:00
add check for existing pb command
このコミットが含まれているのは:
コミット
a59c4b3955
@ -1,8 +1,12 @@
|
||||
function pb
|
||||
if count $argv > /dev/null
|
||||
curl -F'file=@'$argv[1] https://0x0.tilde.team
|
||||
if type -q pb > /dev/null
|
||||
command pb $argv
|
||||
else
|
||||
curl -F'file=@-;filename=stdin.txt' https://0x0.tilde.team
|
||||
if count $argv > /dev/null
|
||||
curl -F'file=@'$argv[1] https://0x0.tilde.team
|
||||
else
|
||||
curl -F'file=@-;filename=stdin.txt' https://0x0.tilde.team
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
読み込み中…
x
新しいイシューから参照
ユーザーをブロックする