Use consistent bash5 style for conditionals and quoting
This commit is contained in:
1 parent
d2acf3b6ba
commit
7514ae7dcf
113 files changed
+289
-287
No files matched your search
@@ -11,7 +11,7 @@ install_php() {
|
||||
omarchy-pkg-add php composer php-sqlite xdebug
|
||||
|
||||
# Install Path for Composer
|
||||
if [[ ":$PATH:" != *":$HOME/.config/composer/vendor/bin:"* ]]; then
|
||||
if [[ :$PATH: != *:$HOME/.config/composer/vendor/bin:* ]]; then
|
||||
echo 'export PATH="$HOME/.config/composer/vendor/bin:$PATH"' >>"$HOME/.bashrc"
|
||||
source "$HOME/.bashrc"
|
||||
echo "Added Composer global bin directory to PATH."
|
||||
|
||||
Reference in new issue
Block a user