From 62ac141877954708b9ba010344a5a2c41eb48327 Mon Sep 17 00:00:00 2001 From: xtex Date: Fri, 26 Jan 2024 21:23:48 +0800 Subject: [PATCH] Add alias for goto and envs.sh --- .config/fish/config.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 18476ae..022bc09 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -3,3 +3,9 @@ if status is-interactive end alias g=git +alias gt=goto + +function 0file; curl -F"file=@$argv" https://envs.sh; end +function 0pb; curl -F"file=@-;" https://envs.sh; end +function 0url; curl -F"url=$argv" https://envs.sh; end +function 0short; curl -F"shorten=$argv" https://envs.sh; end