Skip to content

Commit 9df9406

Browse files
committed
🦗 install_fzf
1 parent 541d120 commit 9df9406

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

bootstrap/bootstrap.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,10 +223,11 @@ function install_binary() {
223223
###########################
224224
function install_fzf() {
225225
local temp_dir=$(mktemp -d)
226-
cd "${temp_dir}" || exit 1
226+
pushd "${temp_dir}" &>/dev/null
227227
install_binary fzf https://raw.githubusercontent.com/junegunn/fzf/refs/heads/master/install bash --bin
228228
mkdir -p "${HOME}/.local/bin"
229229
mv "${temp_dir}/bin/fzf" "${HOME}/.local/bin/fzf"
230+
popd &>/dev/null
230231
rm -rf "${temp_dir}"
231232
}
232233

0 commit comments

Comments
 (0)