i shouldve created a branch

This commit is contained in:
2022-09-29 10:45:48 +02:00
parent f2c024cd51
commit 3dc64233d5
6 changed files with 45 additions and 32 deletions

View File

@@ -6,15 +6,16 @@ sudo tar -xvf linux64 -C /usr/bin
# export postman to env table
if [[ $(which zsh) == "/usr/bin/zsh" ]]; then
echo '# Postman path' >> ~/.zshrc
echo 'export PATH="$PATH:/usr/bin/Postman"' >> ~/.zshrc
source ~/.zshrc
else
echo '# Postman path' >> ~/.bashrc
echo 'export PATH="$PATH:/usr/bin/Postman"' >> ~/.bashrc
source ~/.bashrc
echo '# Postman path' >> ~/.tempzshrc
echo 'export PATH="$PATH:/usr/bin/Postman"' >> ~/.tempzshrc
source ~/.tempzshrc
fi
# always put in bashrc aswell, so that the user can always rely on the standard shell
echo '# Postman path' >> ~/.bashrc
echo 'export PATH="$PATH:/usr/bin/Postman"' >> ~/.bashrc
source ~/.bashrc
# Create file and set info
touch Postman.desktop
{