mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 12:32:37 +00:00
bbcdcc207d
* feat(WIP to bring bluefin CLI bling to bazzite) * feat(wip to integrate blue-fin cli bling) errors out. * feat(wip bazzite command line bling) missing preexec and cleanup * feat(wip bazzite command line bling) added bash prexec to containerfile to meet requirements. * feat(bazzite-cli)issue #1385 * feat(just) added bazzite-cli to address issue #1385 --------- Co-authored-by: = <=>
29 lines
787 B
Bash
29 lines
787 B
Bash
#!/usr/bin/env sh
|
|
|
|
# ls aliases
|
|
if [ "$(command -v eza)" ]; then
|
|
alias ll='eza -l --icons=auto --group-directories-first'
|
|
alias l.='eza -d .*'
|
|
alias ls='eza'
|
|
alias l1='eza -1'
|
|
fi
|
|
|
|
# ugrep for grep
|
|
if [ "$(command -v ug)" ]; then
|
|
alias grep='ug'
|
|
alias egrep='ug -E'
|
|
alias fgrep='ug -F'
|
|
alias xzgrep='ug -z'
|
|
alias xzegrep='ug -zE'
|
|
alias xzfgrep='ug -zF'
|
|
fi
|
|
|
|
if [ "$(basename "$SHELL")" = "bash" ]; then
|
|
#shellcheck disable=SC1091
|
|
. /usr/share/bash-prexec
|
|
[ "$(command -v atuin)" ] && eval "$(atuin init bash)"
|
|
[ "$(command -v zoxide)" ] && eval "$(zoxide init bash)"
|
|
elif [ "$(basename "$SHELL")" = "zsh" ]; then
|
|
[ "$(command -v atuin)" ] && eval "$(atuin init zsh)"
|
|
[ "$(command -v zoxide)" ] && eval "$(zoxide init zsh)"
|
|
fi |