Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions cli/src/main/package/setup
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,19 @@ if ! grep -q "alias ide=" ~/.bashrc; then
echo -e "ide" >> ~/.bashrc
fi

if [ "${OSTYPE}" != "cygwin" ] && [ "${OSTYPE}" != "msys" ]; then
if ! grep -q "IDE_ROOT" ~/.bashrc
then
echo -e 'export IDE_ROOT="$(pwd)"' >> ~/.bashrc
fi

if ! grep -q "IDE_ROOT" ~/.zshrc
then
echo -e 'export IDE_ROOT="$(pwd)"' >> ~/.zshrc
fi
fi


if [ -f ~/.zshrc ]; then
if ! grep -q "compinit" ~/.zshrc
then
Expand Down