Add checks for programs if they are even installed

This commit is contained in:
JeremyStar™ 2024-08-31 21:53:54 +02:00
parent b6c634c77c
commit 4a798be4a0
Signed by: JeremyStarTM
GPG key ID: E366BAEF67E4704D
3 changed files with 3 additions and 3 deletions

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source "/usr/share/icons-in-terminal/icons_bash.sh" [[ -f "/usr/share/icons-in-terminal/icons_bash.sh" ]] && source "/usr/share/icons-in-terminal/icons_bash.sh"

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
source /usr/share/nvm/init-nvm.sh [[ -f "/usr/share/nvm/init-nvm.sh" ]] && source /usr/share/nvm/init-nvm.sh

View file

@ -1,2 +1,2 @@
#!/usr/bin/env bash #!/usr/bin/env bash
eval "$(starship init bash)" which starship &> /dev/null && eval "$(starship init bash)"