diff --git a/scripts/zsh_setup.sh b/scripts/zsh_setup.sh index 312fc0f..0378c2a 100755 --- a/scripts/zsh_setup.sh +++ b/scripts/zsh_setup.sh @@ -43,7 +43,7 @@ validateSettings() configureZsh() { # Remove previous settings - sed -i '' '/### Codex CLI setup - start/,/### Codex CLI setup - end/d' $zshrcPath + sed -i'' '/### Codex CLI setup - start/,/### Codex CLI setup - end/d' "$(readlink -f $zshrcPath)" echo "Removed previous settings in $zshrcPath if present" # Update the latest settings