From 486fee013f2c4e5ae99134c7ea13b6b444ded814 Mon Sep 17 00:00:00 2001 From: surtur Date: Sat, 26 Mar 2022 00:36:37 +0100 Subject: [PATCH] zshrc: add alias subvols (for btrfs) --- .zshrc | 1 + 1 file changed, 1 insertion(+) diff --git a/.zshrc b/.zshrc index cfd0f34..3d30f43 100644 --- a/.zshrc +++ b/.zshrc @@ -140,6 +140,7 @@ alias diff="diff -Naru --color" alias ip='ip -color' alias nmcs='nmcli conn show' + alias subvols='sudo btrfs subvolume list /home | grep -v -e ".snapshots" -e "${USER}/.local/share/containers" -e "${USER}/.docker" | grep ${USER}' export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/podman/podman.sock if [ -z SSH_AGENT_PID ]; then