Skip to content
Discussion options

You must be logged in to vote

Try this:

export FZF_CTRL_T_OPTS='
    --prompt "Files> "
    --header "CTRL-T: Switch between Files/Directories"
    --bind '\''ctrl-t:transform:[[ ! $FZF_PROMPT =~ Files ]] &&
  echo "change-prompt(Files> )+reload(fd --type file)" ||
  echo "change-prompt(Directories> )+reload(fd --type directory)"'\'

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@omnigenous
Comment options

@bitraid
Comment options

@omnigenous
Comment options

Answer selected by omnigenous
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants