Created
June 13, 2024 20:23
-
-
Save lucianmachado/e5bc0928da572f898067814c305489c7 to your computer and use it in GitHub Desktop.
this fish function open one or multiple projects in vscode (using ghq to list projects)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function _fzf_open_project_in_code | |
fzf -m | xargs -I {} code {} | |
end | |
function fzf_open_project_in_code | |
begin | |
ghq list -p | |
echo $HOME/.config/fish | |
echo $HOME/.config/nvim | |
end | sed -e 's/\/$//' | awk '!a[$0]++' | _fzf_open_project_in_code $argv | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment