From 44a4bf305f8b5fb71c6a929646af528753f977c4 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Wed, 2 Aug 2023 09:53:56 +0200 Subject: [PATCH] add lastdl function --- dot_config/fish/private_functions/lastdl.fish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dot_config/fish/private_functions/lastdl.fish diff --git a/dot_config/fish/private_functions/lastdl.fish b/dot_config/fish/private_functions/lastdl.fish new file mode 100644 index 0000000..cd00628 --- /dev/null +++ b/dot_config/fish/private_functions/lastdl.fish @@ -0,0 +1,3 @@ +function lastdl +echo "$HOME/Downloads/$(exa -1 -s modified ~/Downloads | tail -1)" +end