Skip to content

Commit 95a51fc

Browse files
committed
remove deprecated brew packages
1 parent 800a1b5 commit 95a51fc

File tree

4 files changed

+17
-18
lines changed

4 files changed

+17
-18
lines changed

dot_aliases

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
exa_options='--links --git --group --changed --time-style long-iso --icons'
2-
# replace ls with exa
3-
alias ls='exa $(printf $exa_options)'
4-
alias tree='exa --tree $(printf $exa_options)'
1+
eza_options='--links --git --group --changed --time-style long-iso --icons'
2+
# replace ls with eza
3+
alias ls='eza $(printf $eza_options)'
4+
alias tree='eza --tree $(printf $eza_options)'
55

66
# Homebrew stuffs
77
alias update="brew update"

dot_zshrc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -462,10 +462,10 @@ zvm_after_init() {
462462
zstyle ':fzf-tab:complete:(-parameter-|-brace-parameter-|export|unset|expand):*' popup-pad 0 1
463463
zstyle ':fzf-tab:complete:(-parameter-|-brace-parameter-|export|unset|expand):*' fzf-flags --preview-window=down:1:wrap
464464

465-
# use exa for previewing commands that work at directory/path level
466-
zstyle ':fzf-tab:complete:(cd|exa|ls|fd|find|cp|mv|rm):argument-rest' fzf-preview 'exa --git -a -1 --color=always --icons $realpath'
467-
zstyle ':fzf-tab:complete:(cd|exa|ls|fd|find|cp|mv|rm):argument-rest' fzf-flags --preview-window=right:70%:wrap
468-
zstyle ':fzf-tab:complete:(cd|exa|ls|fd|find|cp|mv|rm):argument-rest' popup-pad 50 50
465+
# use eza for previewing commands that work at directory/path level
466+
zstyle ':fzf-tab:complete:(cd|eza|ls|fd|find|cp|mv|rm):argument-rest' fzf-preview 'eza --git -a -1 --color=always --icons $realpath'
467+
zstyle ':fzf-tab:complete:(cd|eza|ls|fd|find|cp|mv|rm):argument-rest' fzf-flags --preview-window=right:70%:wrap
468+
zstyle ':fzf-tab:complete:(cd|eza|ls|fd|find|cp|mv|rm):argument-rest' popup-pad 50 50
469469

470470
# use lessfilter to preview content files, directories etc.
471471
zstyle ':fzf-tab:complete:(cat|bat|vim|nvim|vimr|nvim-qt):argument-rest' fzf-preview 'LESSOPEN="|~/sw/assets/lessfilter %s" less ${(Q)realpath}'

sw/assets/executable_lessfilter

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@ mime=$(file -bL --mime-type "$1")
44
category=${mime%%/*}
55
kind=${mime##*/}
66
if [ -d "$1" ]; then
7-
exa --git -a -1 --color=always --icons "$1"
7+
eza --git -a -1 --color=always --icons "$1"
88
elif [ "$category" = image ]; then
9-
chafa "$1"
10-
exiftool "$1"
9+
chafa "$1"
10+
exiftool "$1"
1111
elif [ "$kind" = vnd.openxmlformats-officedocument.spreadsheetml.sheet ] ||
12-
[ "$kind" = vnd.ms-excel ]; then
13-
in2csv "$1" | xsv table | bat -ltsv --color=always
12+
[ "$kind" = vnd.ms-excel ]; then
13+
in2csv "$1" | xsv table | bat -ltsv --color=always
1414
elif [ "$category" = text ]; then
15-
bat --color=always "$1"
15+
bat --color=always "$1"
1616
else
17-
lesspipe.sh "$1" | bat --color=always
17+
lesspipe.sh "$1" | bat --color=always
1818
fi
19-
# lesspipe.sh don't use exa, bat and chafa, it use ls and exiftool. so we create a lessfilter.
19+
# lesspipe.sh don't use eza, bat and chafa, it use ls and exiftool. so we create a lessfilter.

sw/bin/executable_sync_brews.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ fi
3535
PACKAGES+=(
3636
chezmoi
3737
zsh
38-
exa
38+
eza
3939
dust
4040
ncdu
4141
duf
@@ -117,7 +117,6 @@ PACKAGES+=(
117117
pdftohtml
118118
lesspipe
119119
mosh
120-
darksky-weather
121120
bats-core
122121
fpp
123122
pstree

0 commit comments

Comments
 (0)