Exchange supercrabtree/k for exa

exa is more versatile and way faster than k. I rarely used the git
integration of k (which is, admittedly, better), as well as the colored
variables. So exa should work well enough for my purposes, especially
since I make more use of vifm when cd-ing through a lot of directories.
This commit is contained in:
Marty Oehme 2019-11-18 17:26:24 +01:00
parent c56e96cc11
commit a1c8b56003
3 changed files with 8 additions and 9 deletions

View file

@ -55,11 +55,6 @@ load_plugins() {
# Add Fish-like autosuggestions to your ZSH.
zgen load zsh-users/zsh-autosuggestions
# k is a zsh script / plugin to make directory listings more readable,
# adding a bit of color and some git status information on files and
# directories.
zgen load supercrabtree/k
# Bullet train prompt setup.
zgen load bhilburn/powerlevel9k powerlevel9k

View file

@ -0,0 +1,8 @@
#!/bin/zsh
# uses exa in detail mode
alias l="exa -l --git --git-ignore"
# shows hidden files
alias L="exa -hal --grid --git"
# a recursive tree - usually want to change levels recused with -L2 -L3 or similar
alias ll="exa --tree -L2"
alias LL="exa -a --tree -L2"

View file

@ -1,4 +0,0 @@
#!/bin/zsh
# uses k (installed with plugins) but makes it accessible through l as well
alias k="k -h"
alias l="k -A"