From 5f6eb6ff68460003e23262ecb64550fec1a963f2 Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 1 Jan 2024 18:30:46 +0100 Subject: [PATCH] je quitte trash --- .config/fish/functions/trash.fish | 3 +++ Makefile | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.config/fish/functions/trash.fish b/.config/fish/functions/trash.fish index 58f7861..f2c0058 100644 --- a/.config/fish/functions/trash.fish +++ b/.config/fish/functions/trash.fish @@ -1,3 +1,6 @@ +# Do not use this script, this is slow and it's not moving files to the +# windows recycle bin since it's impossible from WSL + function trash --description "Move file or directory to the windows recycle bin." # Get function name set current_name $(status current-function) diff --git a/Makefile b/Makefile index e305cff..ee50ef9 100644 --- a/Makefile +++ b/Makefile @@ -145,7 +145,7 @@ sync-wsl: @$(CURL) $(REPO_SRC)/.config/fish/config_wsl.fish >> $(HOME)/.config/fish/config.fish @$(CURL) $(REPO_SRC)/.config/fish/conf.d/abbr_wsl.fish >> $(HOME)/.config/fish/conf.d/abbr.fish @$(CURL) $(REPO_SRC)/.config/fish/conf.d/alias_wsl.fish >> $(HOME)/.config/fish/conf.d/alias.fish - @$(WGET) $(REPO_SRC)/.config/fish/functions/trash.fish -O $(HOME)/.config/fish/functions/trash.fish +# @$(WGET) $(REPO_SRC)/.config/fish/functions/trash.fish -O $(HOME)/.config/fish/functions/trash.fish @echo "Fish specific settings synced!" @echo