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

Consider giving Nix/NixOS a try! <3