-
-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: bluefin cli now sources bling (#1441)
- Loading branch information
Showing
5 changed files
with
62 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
system_files/shared/usr/share/ublue-os/bluefin-cli/bling.fish
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# ls aliases | ||
alias ll='eza -l --icons=auto --group-directories-first' | ||
alias l.='eza -d .*' | ||
alias ls='eza' | ||
alias l1='eza -1' | ||
|
||
# ugrep for grep | ||
alias grep='ug' | ||
alias egrep='ug -E' | ||
alias fgrep='ug -F' | ||
alias xzgrep='ug -z' | ||
alias xzegrep='ug -zE' | ||
alias xzfgrep='ug -zF' | ||
|
||
if status is-interactive | ||
eval "$(atuin init fish)" | ||
eval "$(zoxide init fish)" | ||
end |
24 changes: 24 additions & 0 deletions
24
system_files/shared/usr/share/ublue-os/bluefin-cli/bling.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/usr/bin/env sh | ||
|
||
# ls aliases | ||
alias ll='eza -l --icons=auto --group-directories-first' | ||
alias l.='eza -d .*' | ||
alias ls='eza' | ||
alias l1='eza -1' | ||
|
||
# ugrep for grep | ||
alias grep='ug' | ||
alias egrep='ug -E' | ||
alias fgrep='ug -F' | ||
alias xzgrep='ug -z' | ||
alias xzegrep='ug -zE' | ||
alias xzfgrep='ug -zF' | ||
|
||
if [ $(basename $SHELL) -eq "bash" ]; then | ||
source /usr/share/bash-prexec | ||
eval "$(atuin init bash)" | ||
eval "$(zoxide init bash)" | ||
elif [ $(basename $SHELL) -eq "zsh" ]; then | ||
eval "$(atuin init zsh)" | ||
eval "$(zoxide init zsh)" | ||
fi |