Compare commits

..

No commits in common. "82fba449fd2003702f49c4f0f53464e0018e6bad" and "a6667d0b63bc084536b6b36490fa1bcf7c278b6f" have entirely different histories.

View file

@ -71,7 +71,6 @@ 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 <x>\). 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"
@ -191,7 +190,6 @@ 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()
@ -220,9 +218,9 @@ function ched()
then
if [[ $(realpath "$EDITOR") == "$EDITOR_REAL" ]];
then
available_editors+=("$EDITOR_REAL" "$editor (current choice)")
available_editors+=("$editor (current choice)" "$EDITOR_REAL")
else
available_editors+=("$EDITOR_REAL", "$editor")
available_editors+=("$editor" "$EDITOR_REAL")
fi
fi
done
@ -315,7 +313,7 @@ function daisy_enc_multi()
function daisy_dec()
{
data=$(cat ${1:-/dev/stdin} | grep -v "#" )
echo -e "$data" | cut -d "=" -f 2- | cut -b 2- | head -c -2 | base64 -d
echo -e "$data" | cut -d "=" -f 2- | cut -b 2- | head -c -1 | base64 -d
}
# Will only take a file and directory, sources it to find all encoded data