Compare commits
No commits in common. "767a63e8100d67c2aab6ec075e5239d78c010a7b" and "ec5aa2f2f9c79484da93f72dae54a74bf5b92783" have entirely different histories.
767a63e810
...
ec5aa2f2f9
@ -4,7 +4,7 @@ This is my personal zsh configuraton.
|
|||||||
### Requirements
|
### Requirements
|
||||||
* [starship](https://github.com/starship/starship) - a pretty and fast prompt
|
* [starship](https://github.com/starship/starship) - a pretty and fast prompt
|
||||||
* [direnv](https://github.com/direnv/direnv)* - runs on cd, safely set enviroment
|
* [direnv](https://github.com/direnv/direnv)* - runs on cd, safely set enviroment
|
||||||
* [eza](https://github.com/eza-community/eza)* - better ls
|
* [exa](https://github.com/ogham/exa)* - better ls
|
||||||
* [bat](https://github.com/sharkdp/bat)* - better cat, less, man, etc.
|
* [bat](https://github.com/sharkdp/bat)* - better cat, less, man, etc.
|
||||||
|
|
||||||
(* = optional)
|
(* = optional)
|
||||||
|
10
init.zsh
10
init.zsh
@ -88,9 +88,9 @@ if cmd_exists bat; then
|
|||||||
export MANROFFOPT="-c"
|
export MANROFFOPT="-c"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Eza configuration
|
# Exa configuration
|
||||||
if cmd_exists eza; then
|
if cmd_exists exa; then
|
||||||
alias ls="eza --git -F"
|
alias ls="exa --git -F"
|
||||||
alias la="ls -a"
|
alias la="ls -a"
|
||||||
alias l="ls -l"
|
alias l="ls -l"
|
||||||
alias ll="ls -al"
|
alias ll="ls -al"
|
||||||
@ -239,8 +239,8 @@ zstyle ':completion:*:git-checkout:*' sort false
|
|||||||
zstyle ':completion:*:descriptions' format '[%d]'
|
zstyle ':completion:*:descriptions' format '[%d]'
|
||||||
# Set list-colors to enable filename colorizing
|
# Set list-colors to enable filename colorizing
|
||||||
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
zstyle ':completion:*' list-colors ${(s.:.)LS_COLORS}
|
||||||
# Preview directory's content with eza when completing cd
|
# Preview directory's content with exa when completing cd
|
||||||
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'eza -1 --color=always $realpath'
|
zstyle ':fzf-tab:complete:cd:*' fzf-preview 'exa -1 --color=always $realpath'
|
||||||
# Remove the '.' prefix at the start of every completion
|
# Remove the '.' prefix at the start of every completion
|
||||||
zstyle ':fzf-tab:*' prefix ''
|
zstyle ':fzf-tab:*' prefix ''
|
||||||
# Switch groups
|
# Switch groups
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit c3d4e576c9c86eac62884bd47c01f6faed043fc5
|
Subproject commit 9908eb49a3fd18e25cfd8a0b9aa841e58429e59d
|
@ -1 +1 @@
|
|||||||
Subproject commit 0cee6ab50885845464724a6501f872f842253b36
|
Subproject commit ab99231c263904ed39def379f32077a210f78c00
|
@ -1 +1 @@
|
|||||||
Subproject commit 143b25eb98aa3227af63bd7f04413e1b3e7888ec
|
Subproject commit 1386f1213eb0b0589d73cd3cf7c56e6a972a9bfd
|
Loading…
Reference in New Issue
Block a user