Skip to content

Commit

Permalink
fix: return on bling.sh if it already got sourced
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz committed Dec 24, 2024
1 parent eb9ba24 commit 0b9477f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions system_files/shared/usr/share/ublue-os/bluefin-cli/bling.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/usr/bin/env sh

# Check if bling has already been sourced so that we dont
set -x
[ "${BLING_SOURCED:-0}" -eq 1 ] && set +x && return
BLING_SOURCED=1
set +x

# ls aliases
if [ "$(command -v eza)" ]; then
alias ll='eza -l --icons=auto --group-directories-first'
Expand Down

0 comments on commit 0b9477f

Please sign in to comment.