Skip to content

Commit

Permalink
fix: return on bling.sh if it already got sourced (ublue-os#2072)
Browse files Browse the repository at this point in the history
  • Loading branch information
tulilirockz authored Dec 24, 2024
1 parent 14e40f1 commit 76d7d71
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 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,9 @@
#!/usr/bin/env sh

# Check if bling has already been sourced so that we dont break atuin. https://github.com/atuinsh/atuin/issues/380#issuecomment-1594014644
[ "${BLING_SOURCED:-0}" -eq 1 ] && return
BLING_SOURCED=1

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

0 comments on commit 76d7d71

Please sign in to comment.