diff options
author | Dylan Araps <dylan.araps@gmail.com> | 2018-10-21 17:01:30 +1100 |
---|---|---|
committer | Dylan Araps <dylan.araps@gmail.com> | 2018-10-21 17:01:30 +1100 |
commit | f4145a3429fc0d708e3f85acd9d936cb41badaba (patch) | |
tree | f4f208fb4f8e53b28e67d375ce856641214e0d64 | |
parent | d10f1f5658db2a880661c22de2a4191fa67686cc (diff) |
docs: update
-rwxr-xr-x | fff | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -68,9 +68,9 @@ prompt() { mv "${f[l]}" "$PWD/$REPLY" ;; d) read -n 1 -rp "trash ${f[l]##*/}? [y/n]: " y; [[ $y =~ y ]] && \ mv "${f[l]}" ~/.cache/fff/bin/; ((l=l==0?l:--l)) ;; - n) read -rp "mkdir: "; [[ "$REPLY" ]] && mkdir -p "$PWD/$REPLY" ;; - f) read -rp "mkfile: "; [[ "$REPLY" ]] && : > "$PWD/$REPLY" ;; - /) g="$PWD"; read -rp /; [[ $REPLY ]] && \ + n) read -rp "mkdir: "; [[ $REPLY ]] && mkdir -p "$PWD/$REPLY" ;; + f) read -rp "mkfile: "; [[ $REPLY ]] && : > "$PWD/$REPLY" ;; + /) g="$PWD"; read -rp /; [[ $REPLY ]] && \ f=("$PWD"/*"$REPLY"*); l=0; refresh; f_print; return esac refresh; get_dir |