Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:dylanaraps/fff into master
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Sep 17, 2020
2 parents 542be9f + e76433f commit 5045c4a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 8 deletions.
17 changes: 10 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,15 +174,15 @@ Ctrl+C: exit without 'cd'.
## Customization

```sh
# Show/Hide hidden files on open.
# (Off by default)
export FFF_HIDDEN=1

# Use LS_COLORS to color fff.
# (On by default if available)
# (Ignores FFF_COL1)
export FFF_LS_COLORS=1

# Show/Hide hidden files on open.
# (On by default)
export FFF_HIDDEN=0

# Directory color [0-9]
export FFF_COL1=2

Expand All @@ -204,9 +204,12 @@ export EDITOR="vim"
# File Opener
export FFF_OPENER="xdg-open"

# File Attributes Command
export FFF_STAT_CMD="stat"

# Enable or disable CD on exit.
# Default: '1'
export FFF_CD_ON_EXIT=1
# (On by default)
export FFF_CD_ON_EXIT=0

# CD on exit helper file
# Default: '${XDG_CACHE_HOME}/fff/fff.d'
Expand All @@ -215,7 +218,7 @@ export FFF_CD_FILE=~/.fff_d

# Trash Directory
# Default: '${XDG_DATA_HOME}/fff/trash'
# If not using XDG, '${XDG_DATA_HOME}/fff/trash' is used.
# If not using XDG, '${HOME}/.local/share/fff/trash' is used.
export FFF_TRASH=~/.local/share/fff/trash

# Trash Command
Expand Down
2 changes: 1 addition & 1 deletion fff
Original file line number Diff line number Diff line change
Expand Up @@ -984,7 +984,7 @@ key() {
[[ -e "${list[scroll]}" ]] && {
clear_screen
status_line "${list[scroll]}"
stat "${list[scroll]}"
"${FFF_STAT_CMD:-stat}" "${list[scroll]}"
read -ern 1
redraw
}
Expand Down
3 changes: 3 additions & 0 deletions fff.1
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ export EDITOR="vim"
# File Opener
export FFF_OPENER="xdg\-open"

# File Attributes Command
export FFF_STAT_CMD="stat"

# Enable or disable CD on exit.
# Default: '1'
export FFF_CD_ON_EXIT=1
Expand Down

0 comments on commit 5045c4a

Please sign in to comment.