mirror of
https://github.com/JanDeDobbeleer/oh-my-posh.git
synced 2024-11-09 20:44:03 -08:00
parent
b31f01a1a3
commit
f6a5f9b5e8
|
@ -81,7 +81,7 @@ validate_install_directory() {
|
|||
|
||||
# check if we can write to the install directory
|
||||
if [ ! -w $install_dir ]; then
|
||||
error "Cannot write to ${install_dir}. Please run the script with sudo and try again:\n curl -s https://ohmyposh.dev/install.sh | sudo bash -s\n\nAlternatively, you can set a different directory and try again: \n curl -s https://ohmyposh.dev/install.sh | bash -s -- -d {directory}"
|
||||
error "Cannot write to ${install_dir}. Please set a different directory and try again: \n curl -s https://ohmyposh.dev/install.sh | bash -s -- -d {directory}"
|
||||
fi
|
||||
|
||||
# check if the directory is in the PATH
|
||||
|
|
Loading…
Reference in a new issue