diff --git a/sh/alias/btrfs.sh b/sh/alias/btrfs.sh index fd880c1..3ec74fb 100644 --- a/sh/alias/btrfs.sh +++ b/sh/alias/btrfs.sh @@ -1,13 +1,13 @@ -bfdf() { sh_btrfs_filesystem_d_f "${@}"; } -sh_btrfs_filesystem_d_f() { +bfdf() { sh_a__btrfs_filesystem_d_f "${@}"; } +sh_a__btrfs_filesystem_d_f() { btrfs \ filesystem \ df \ "${@}" } -bfdu() { sh_btrfs_filesystem_d_u "${@}"; } -sh_btrfs_filesystem_d_u() { +bfdu() { sh_a__btrfs_filesystem_d_u "${@}"; } +sh_a__btrfs_filesystem_d_u() { btrfs \ filesystem \ du \ @@ -15,40 +15,40 @@ sh_btrfs_filesystem_d_u() { "${@}" } -bfu() { sh_btrfs_filesystem_usage "${@}"; } -sh_btrfs_filesystem_usage() { +bfu() { sh_a__btrfs_filesystem_usage "${@}"; } +sh_a__btrfs_filesystem_usage() { btrfs \ filesystem \ usage \ "${@}" } -bpg() { sh_btrfs_property_get "${@}"; } -sh_btrfs_property_get() { +bpg() { sh_a__btrfs_property_get "${@}"; } +sh_a__btrfs_property_get() { btrfs \ property \ get \ "${@}" } -bsc() { sh_btrfs_subvolume_create "${@}"; } -sh_btrfs_subvolume_create() { +bsc() { sh_a__btrfs_subvolume_create "${@}"; } +sh_a__btrfs_subvolume_create() { btrfs \ subvolume \ create \ "${@}" } -bsd() { sh_btrfs_subvolume_delete "${@}"; } -sh_btrfs_subvolume_delete() { +bsd() { sh_a__btrfs_subvolume_delete "${@}"; } +sh_a__btrfs_subvolume_delete() { btrfs \ subvolume \ delete \ "${@}" } -bsl() { sh_btrfs_subvolume_list "${@}"; } -sh_btrfs_subvolume_list() { +bsl() { sh_a__btrfs_subvolume_list "${@}"; } +sh_a__btrfs_subvolume_list() { if [ -n "${1}" ]; then btrfs subvolume list "${1}" | cut --delimiter " " --fields 9 | @@ -56,16 +56,16 @@ sh_btrfs_subvolume_list() { fi } -bss() { sh_btrfs_subvolume_snapshot "${@}"; } -sh_btrfs_subvolume_snapshot() { +bss() { sh_a__btrfs_subvolume_snapshot "${@}"; } +sh_a__btrfs_subvolume_snapshot() { btrfs \ subvolume \ snapshot \ "${@}" } -bssr() { sh_btrfs_subvolume_snapshot_r "${@}"; } -sh_btrfs_subvolume_snapshot_r() { +bssr() { sh_a__btrfs_subvolume_snapshot_r "${@}"; } +sh_a__btrfs_subvolume_snapshot_r() { btrfs \ subvolume \ snapshot -r \