Skip to content

Instantly share code, notes, and snippets.

@sam159247
Created April 19, 2022 11:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sam159247/4e4418a1b40fde616eca666a5813dadf to your computer and use it in GitHub Desktop.
Save sam159247/4e4418a1b40fde616eca666a5813dadf to your computer and use it in GitHub Desktop.
[VSCode] Open project with fzf
#!/bin/fish
cd ~/projects
set -x PJ_PATH (find * -type d -maxdepth 0 | fzf --preview 'tree -C {} | head -200') && code $PJ_PATH && cd $PJ_PATH && clear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment