Skip to content

Commit

Permalink
test: directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandoataoldotcom authored Oct 7, 2023
1 parent 2924b32 commit ccbfbaa
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .devcontainer/tools/add-tools-to-shells.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ add_tools_to_shells() {
if [ -d "/home/vscode/.oh-my-zsh/custom" ]; then
find . -type f ! -name "add-tools-to-shells.sh" -name "*.sh" \
-exec sh -c 'file="{}"; cp "$file" "/home/vscode/.oh-my-zsh/custom/$(basename ${file%.sh}.zsh)"' \;
else
echo "/home/vscode/.oh-my-zsh/custom does not exist" >> /home/vscode/error_log.txt
fi


Expand Down

0 comments on commit ccbfbaa

Please sign in to comment.