diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index f0010ff..853e78d 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -28,7 +28,6 @@ pz source ohmyzsh/ohmyzsh lib/git pz source ohmyzsh/ohmyzsh lib/key-bindings # Source OMZ plugins -pz source ohmyzsh/ohmyzsh plugins/extract pz source ohmyzsh/ohmyzsh plugins/fzf pz source ohmyzsh/ohmyzsh plugins/git pz source ohmyzsh/ohmyzsh plugins/z diff --git a/zsh/.config/zsh/aliases.zsh b/zsh/.config/zsh/aliases.zsh index ada5a81..68ea389 100644 --- a/zsh/.config/zsh/aliases.zsh +++ b/zsh/.config/zsh/aliases.zsh @@ -1,6 +1,6 @@ -alias btctl="bluetoothctl" alias cl="clear" alias cp="cp -i" +alias exa="exa -Fh --color=always --git --icons" alias grep="grep --color=always" alias ls="ls --color=always" alias mkdir="mkdir -p" @@ -8,21 +8,23 @@ alias mv="mv -i" alias q="exit" alias rm="rm -i" alias srm="srm -i" -alias t="exa --tree -I '.git'" +alias t="exa -a --tree -I '.git'" +alias tl="t -l" alias tmux="tmux -2u" alias u="update.sh" alias wl-copy="wl-copy -n" alias zgrep="zgrep --color=always" if [[ $(uname -o) == "Android" ]]; then - alias l="exa -aFhl --color=always --git --icons" - alias la="exa -Fhl --color=always --git --icons" - alias ll="exa -aaFghl --color=always --git --icons" + alias l="exa -al" + alias la="exa -l" + alias ll="exa -aagl" elif [[ $(uname -o) == "GNU/Linux" ]]; then - alias exa="exa -aFhl --color=always --git --icons" + alias btctl="bluetoothctl" alias l="lsd -hlA --color=always" alias la="lsd -hl --color=always" alias ll="lsd -hlaF --color=always" + alias x="exa -al" if [[ $(lsb_release -si) == "Artix" ]]; then alias code="codium --enable-features=UseOzonePlatform --ozone-platform=wayland" diff --git a/zsh/.config/zsh/functions.zsh b/zsh/.config/zsh/functions.zsh index 21edb50..d421417 100644 --- a/zsh/.config/zsh/functions.zsh +++ b/zsh/.config/zsh/functions.zsh @@ -1,12 +1,12 @@ -function pz_upgrade { - pz zcompile -c >/dev/null - pz pull - pz zcompile >/dev/null -} - -(( ${+commands[doas]} )) && function doasedit { +(( ${+commands[doas]} )) && function doasedit() { doas -L doas $EDITOR /etc/doas.conf doas doas -C /etc/doas.conf && echo "ok" || echo "error" doas -L } + +function pz_upgrade() { + pz zcompile -c >/dev/null + pz pull + pz zcompile >/dev/null +}