From b2c094fa9b3b1d1805d34e2ddd0ab4a43631b95e Mon Sep 17 00:00:00 2001 From: Anthony Perkins Date: Tue, 12 Nov 2019 17:44:33 +0000 Subject: [PATCH] Only exclude squashfs on Linux df --- roles/home/files/shrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/roles/home/files/shrc b/roles/home/files/shrc index e52f73e..f916c1c 100644 --- a/roles/home/files/shrc +++ b/roles/home/files/shrc @@ -73,10 +73,12 @@ fi if [ "$(uname -s)" = "FreeBSD" ]; then LSOPTIONS="$LSOPTIONS -G" fi +if [ "$(uname -s)" = "Linux" ]; then + alias df="df -x squashfs" +fi alias adoc="asciidoctor -a stylesheet=$HOME/.asciidoctor.css" alias cal="ncal -w" -alias df="df -x squashfs" alias ec="emacsclient -c" alias en="emacsclient -nw" alias f="fossil"