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