diff --git a/daisy.source b/daisy.source index bcd0b9d..d2957e1 100755 --- a/daisy.source +++ b/daisy.source @@ -71,6 +71,7 @@ function daisy_help() echo -e " using sw and removes the backup." echo -e " - lsa: A simple alias for ls -lah." echo -e " - lsn: A simple alias for ls -lah --sort=time --reverse." + echo -e " - lss: A simple alias for ls -lah --sort=size --reverse." echo -e " - editbin: An alias for editx $\(which \). Saves on typing." echo -e " - ched: Like chsh but for your editor (EDITOR env). A list" echo -e " from which you can choose an installed editor" @@ -190,6 +191,7 @@ function bak() alias unbak="UNBAK_MODE=1 bak" alias lsa="ls -lah" alias lsn="ls -lah --sort=time --reverse" +alias lss="ls -lah --sort=size --reverse" # Simple version of `cdf` function cdf() @@ -218,9 +220,9 @@ function ched() then if [[ $(realpath "$EDITOR") == "$EDITOR_REAL" ]]; then - available_editors+=("$editor (current choice)" "$EDITOR_REAL") + available_editors+=("$EDITOR_REAL" "$editor (current choice)") else - available_editors+=("$editor" "$EDITOR_REAL") + available_editors+=("$EDITOR_REAL", "$editor") fi fi done