about summary refs log tree commit diff
path: root/profile/.profile.d/df.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--profile/.profile.d/df.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/profile/.profile.d/df.sh b/profile/.profile.d/df.sh
new file mode 100644
index 0000000..26a767b
--- /dev/null
+++ b/profile/.profile.d/df.sh
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+if command -v df >/dev/null 2>&1; then
+	alias disk="df --human-readable --exclude-type=tmpfs --exclude-type=devtmpfs"
+fi

Consider giving Nix/NixOS a try! <3