summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2018-10-21 17:01:30 +1100
committerDylan Araps <dylan.araps@gmail.com>2018-10-21 17:01:30 +1100
commitf4145a3429fc0d708e3f85acd9d936cb41badaba (patch)
treef4f208fb4f8e53b28e67d375ce856641214e0d64
parentd10f1f5658db2a880661c22de2a4191fa67686cc (diff)
docs: update
-rwxr-xr-xfff6
1 files changed, 3 insertions, 3 deletions
diff --git a/fff b/fff
index d5b5019..ba9ec4f 100755
--- a/fff
+++ b/fff
@@ -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