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 26, 2024
1 parent b8e5ae8 commit b1a4dd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions system_files/shared/usr/share/ublue-os/aurora-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 b1a4dd4

Please sign in to comment.