mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-12-28 12:29:40 -08:00
fix(install): add -p flag for absolute path
This commit is contained in:
parent
90aada5187
commit
f13eae852b
|
@ -84,7 +84,7 @@ set_install_directory() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check if $HOME/.local/bin exists and is writable
|
# check if $HOME/.local/bin exists and is writable
|
||||||
if ([ -d "$HOME/.local/bin" ] && [ -w "$HOME/.local/bin" ]) || mkdir "$HOME/.local/bin"; then
|
if ([ -d "$HOME/.local/bin" ] && [ -w "$HOME/.local/bin" ]) || mkdir -p "$HOME/.local/bin"; then
|
||||||
install_dir="$HOME/.local/bin"
|
install_dir="$HOME/.local/bin"
|
||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue