This repository was archived by the owner on Apr 26, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +14
-8
lines changed
Expand file tree Collapse file tree 3 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -174,15 +174,15 @@ Ctrl+C: exit without 'cd'.
174174## Customization
175175
176176``` sh
177+ # Show/Hide hidden files on open.
178+ # (Off by default)
179+ export FFF_HIDDEN=1
180+
177181# Use LS_COLORS to color fff.
178182# (On by default if available)
179183# (Ignores FFF_COL1)
180184export FFF_LS_COLORS=1
181185
182- # Show/Hide hidden files on open.
183- # (On by default)
184- export FFF_HIDDEN=0
185-
186186# Directory color [0-9]
187187export FFF_COL1=2
188188
@@ -204,9 +204,12 @@ export EDITOR="vim"
204204# File Opener
205205export FFF_OPENER=" xdg-open"
206206
207+ # File Attributes Command
208+ export FFF_STAT_CMD=" stat"
209+
207210# Enable or disable CD on exit.
208- # Default: '1'
209- export FFF_CD_ON_EXIT=1
211+ # (On by default)
212+ export FFF_CD_ON_EXIT=0
210213
211214# CD on exit helper file
212215# Default: '${XDG_CACHE_HOME}/fff/fff.d'
@@ -215,7 +218,7 @@ export FFF_CD_FILE=~/.fff_d
215218
216219# Trash Directory
217220# Default: '${XDG_DATA_HOME}/fff/trash'
218- # If not using XDG, '${XDG_DATA_HOME} /fff/trash' is used.
221+ # If not using XDG, '${HOME}/.local/share /fff/trash' is used.
219222export FFF_TRASH=~ /.local/share/fff/trash
220223
221224# Trash Command
Original file line number Diff line number Diff line change @@ -984,7 +984,7 @@ key() {
984984 [[ -e " ${list[scroll]} " ]] && {
985985 clear_screen
986986 status_line " ${list[scroll]} "
987- stat " ${list[scroll]} "
987+ " ${FFF_STAT_CMD :- stat} " " ${list[scroll]} "
988988 read -ern 1
989989 redraw
990990 }
Original file line number Diff line number Diff line change @@ -102,6 +102,9 @@ export EDITOR="vim"
102102# File Opener
103103export FFF_OPENER="xdg\- open"
104104
105+ # File Attributes Command
106+ export FFF_STAT_CMD="stat"
107+
105108# Enable or disable CD on exit.
106109# Default: '1'
107110export FFF_CD_ON_EXIT=1
You can’t perform that action at this time.
0 commit comments