-
-
Save connoro7/482afd3205627336ff1410875198ab1c to your computer and use it in GitHub Desktop.
exa config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## exa | |
export EXA_OPTIONS="-F --group-directories-first --color=always" # classify files and group folders for human readability | |
alias ls="lg" # Replaces ls with my alias for exa | |
alias l="exa ${EXA_OPTIONS}" # default | |
alias la="exa -a ${EXA_OPTIONS}" # default + dotfiles | |
alias lg="exa -Ga ${EXA_OPTIONS}" # list as grid + dotfiles | |
alias lg\-="exa -G ${EXA_OPTIONS}" # list as grid | |
alias lgd="exa -GaD ${EXA_OPTIONS}" # list as grid, directories only | |
alias ll="exa -lha --git ${EXA_OPTIONS}" # list permissions + dotfiles | |
alias lld="exa -lhD ${EXA_OPTIONS}" # list permissions + dotfiles + directories | |
alias ll\-="exa -lh --git ${EXA_OPTIONS}" # list permissions | |
# replaces exa -TL <DEPTH> | |
function lt () { exa -lh --git ${EXA_OPTIONS} --tree --level="${1:-1}" ; } | |
alias exa\?=' | |
echo -e "$Info Exa Options: ${Color_Off}" && | |
echo -e "l ${Black} ...... ${Color_Off} default" && | |
echo -e "la ${Black} ..... ${Color_Off} default ${Red} all ${Color_Off}" && | |
echo -e "lg ${Black} ..... ${Color_Off} ${Blue} grid ${Color_Off} ${Purple} =ls ${Color_Off}" && | |
echo -e "lg- ${Black} .... ${Color_Off} ${Blue} grid ${Red} all ${Color_Off}" && | |
echo -e "ll ${Black} ..... ${Color_Off} ${Yellow} list ${Color_Off}" && | |
echo -e "lld ${Black} .... ${Color_Off} ${Yellow} list ${Red} all ${Color_Off}" && | |
echo -e "ll- ${Black} ..... ${Color_Off} ${Yellow} list permissions ${Color_Off}" && | |
echo -e "lt ${Black} ..... ${Color_Off} ${Green} tree ${Color_Off} specify depth, default = 1" | |
' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment