Compare commits

...

2 commits

Author SHA1 Message Date
baff5d86b6
Add PMD completion 2024-08-31 21:54:01 +02:00
4a798be4a0
Add checks for programs if they are even installed 2024-08-31 21:53:54 +02:00
4 changed files with 5 additions and 3 deletions

View file

@ -1,2 +1,2 @@
#!/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
source /usr/share/nvm/init-nvm.sh
[[ -f "/usr/share/nvm/init-nvm.sh" ]] && source /usr/share/nvm/init-nvm.sh

2
programs.d/pmd.sh Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
which pmd &> /dev/null && eval $(pmd generate-completion)

View file

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