Skip to content

Instantly share code, notes, and snippets.

@idcmardelplata
Created May 11, 2021 20:05
Show Gist options
  • Save idcmardelplata/d390891cb3d63438070152682bde8a83 to your computer and use it in GitHub Desktop.
Save idcmardelplata/d390891cb3d63438070152682bde8a83 to your computer and use it in GitHub Desktop.
Script para abrir directorios rápidamente usando fzf.
bindkey -s '' 'source $HOME/bin/sources.sh'
#!/usr/bin/bash
source=$HOME/Fuentes/
cd $(echo $source/$(exa --icons --git --only-dirs --oneline $source | fzf --prompt="¿Donde vamos...? |> " | cut -f2 -d' '))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment