Install in /tmp

This commit is contained in:
Ajeet D'Souza 2025-11-18 03:54:16 +05:30
parent 22aa8722c4
commit b79a103131
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ main() {
# Create and enter a temporary directory.
local _tmp_dir
_tmp_dir="$(mktemp -d zoxide_XXXXX)" || err "mktemp: could not create temporary directory"
_tmp_dir="$(mktemp -d /tmp/zoxide_XXXXXX)" || err "mktemp: could not create temporary directory"
cd "${_tmp_dir}" || err "cd: failed to enter directory: ${_tmp_dir}"
# Download and extract zoxide.