Alias ls and cat to exa and bat

This commit is contained in:
Marko Korhonen 2021-08-18 09:30:21 +03:00
parent 1f0d882745
commit 3cccb61089

View File

@ -21,6 +21,10 @@ _fzf_compgen_path() {
_skim_compgen_path
}
# Modern replacements for cat and ls
alias cat='bat'
alias ls='exa'
{%@@ if profile != "mko-laptop" @@%}
# Command not found handler
# source https://wiki.archlinux.org/title/Zsh#pacman_-F_%22command_not_found%22_handler
@ -224,9 +228,6 @@ tether() { adb shell su -c "service call connectivity 33 i32 1 s16 me" > /dev/nu
# update arch mirrorlist
alias reflect='sudo reflector --latest 200 --threads 8 --verbose --protocol http --protocol https --sort rate --save /etc/pacman.d/mirrorlist'
# better ls
alias ls='ls_extended -Ih'
# default icon for notify-send
alias notify-send='notify-send --icon=alarm'