Skip to content

Commit

Permalink
feat: improve path placement of fzf for codespace
Browse files Browse the repository at this point in the history
  • Loading branch information
cuppajoeman committed Oct 16, 2024
1 parent 9f47a9c commit 6ab5904
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/codespaces_setup/setup_dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ install_fzf() {
echo "Installing fzf..."
git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
yes | ~/.fzf/install
# move it to a local so that subprocess.Popen will pick it up.
mv ~/.fzf/bin/fzf ~/.local/bin
# this will remove the last line of your bashrc doing this because
# fzf puts a line there while installing that we don't use
# because we use a different path
sed -i '$d' ~/.bashrc
}

# Check if fzf is installed
Expand Down

0 comments on commit 6ab5904

Please sign in to comment.