This commit is contained in:
Anthony Cicchetti 2020-11-10 10:30:27 -05:00
parent 5f4c8b507a
commit 073a40631b
5 changed files with 37 additions and 3 deletions

16
lsd/config.yaml Normal file
View file

@ -0,0 +1,16 @@
blocks:
- permission
- user
- group
- size
- date
- name
date: +%Y-%m-%d %H:%M
icons:
theme: unicode
layout: oneline
symlink-arrow:

View file

@ -76,3 +76,9 @@
dest: ~/.config/topgrade.toml
state: link
- name: Lay down lsd/config.yaml
file:
src: ~/.dotfiles/lsd/config.yaml
dest: ~/.config/lsd/config.yaml
state: link

View file

@ -1,3 +1,6 @@
[net]
git-fetch-with-cli = true
[profile.release]
lto = true
opt-level = 3

View file

@ -23,10 +23,10 @@
when:
- rust_extras == true
- name: Install exa
shell: ~/.cargo/bin/cargo install exa
- name: Install lsd
shell: ~/.cargo/bin/cargo install lsd
args:
creates: ~/.cargo/bin/exa
creates: ~/.cargo/bin/lsd
when:
- rust_extras == true

9
zsh/funcs/ls Normal file
View file

@ -0,0 +1,9 @@
function ls {
if [[ $(whence -p lsd 2> /dev/null) ]]; then
lsd $@
elif [[ $(whence -p exa 2> /dev/null) ]]; then
exa $@
else
ls $@
fi
}