From 01b0224eee7ebe31028294ecdeb0736a742a156d Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sat, 16 Nov 2024 16:53:19 +0100 Subject: [PATCH] bsc,bsd,bss,bssr --- shell/alias/btrfs.sh | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) diff --git a/shell/alias/btrfs.sh b/shell/alias/btrfs.sh index 6e8e0f2..defbf1a 100644 --- a/shell/alias/btrfs.sh +++ b/shell/alias/btrfs.sh @@ -26,26 +26,30 @@ property \ get \ " -alias bsc="\ -btrfs \ -subvolume \ -create \ -" +bsc() { + btrfs \ + subvolume \ + create \ + "${@}" +} -alias bsd="\ -btrfs \ -subvolume \ -delete \ -" +bsd() { + btrfs \ + subvolume \ + delete \ + "${@}" +} -alias bss="\ -btrfs \ -subvolume \ -snapshot \ -" +bss() { + btrfs \ + subvolume \ + snapshot \ + "${@}" +} -alias bssr="\ -btrfs \ -subvolume \ -snapshot -r \ -" +bssr() { + btrfs \ + subvolume \ + snapshot -r \ + "${@}" +}