From 37bdcdcf495f96e32ff9ccecd2f55a9078ba0d87 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Mon, 11 Apr 2022 09:06:11 -0400 Subject: [PATCH] fish: Add abbreviation for df Now we can get a useful version of df without having to remember the options to use. --- fish/.config/fish/config.fish | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fish/.config/fish/config.fish b/fish/.config/fish/config.fish index beafe79..5cfe3ee 100644 --- a/fish/.config/fish/config.fish +++ b/fish/.config/fish/config.fish @@ -1,5 +1,5 @@ # New Start: A modern Arch workflow built with an emphasis on functionality. -# Copyright (C) 2017-2019 Donovan Glover +# Copyright (C) 2017-2022 Donovan Glover set -U fish_greeting "" @@ -75,6 +75,7 @@ if not set -q set_abbr abbr copy "xclip -sel clip <" # Easily copy the contents of any file abbr cf "tput reset" # Clear the terminal completely abbr nf "tput reset; and neofetch --size 56%; and xdotool key --delay 100 Ctrl+Shift+Page_Up" + abbr df "df --human-readable --type=ext4 --total" abbr b "feh --bg-fill" # Change the background abbr c "clear" # Because 5 letters is too much