1
0
forked from extern/nix-config

Switch from ls and tree to exa

This commit is contained in:
Donovan Glover 2017-12-30 23:56:55 -05:00
parent 4f417493df
commit b51f8cffd9
No known key found for this signature in database
GPG Key ID: 8FC5F7D90A5D8F4D
2 changed files with 9 additions and 5 deletions

View File

@ -37,11 +37,12 @@ alias c="clear"
alias cf="tput reset"
# Make ls a lot easier to read (print directories first, just like ranger)
alias ls="ls -hN --color=auto --group-directories-first"
alias exa="exa --group-directories-first"
alias ls="exa"
alias l="ls -1" # Show each output from ls on a separate line
alias lsa="ls -A" # Show hidden files (also known as dotfiles)
alias type="type -a" # Easily see what the command you want to run points to
alias l="exa -1" # Show each output from ls on a separate line
alias lsa="exa -a" # Show hidden files (also known as dotfiles)
alias type="type -a" # Easily see what the command you want to run points to
####################################################################
# Volume aliases
@ -77,6 +78,9 @@ alias dog="pygmentize -g"
# Easily show all of the todos in a given project
alias todo="ag TODO"
# Use exa as a drop-in replacement for "tree" (faster, more colors, etc.)
alias tree="exa --long --tree"
####################################################################
# Git aliases
####################################################################

View File

@ -26,7 +26,6 @@ i zsh-syntax-highlighting # Install syntax highlighting for colorful shell com
i vim # Install vim, our text editor of choice
i git # Install git, our version control system of choice
i tree # Install tree, used to show the contents of entire directories
i wget # Install wget, used for downloading files from websites
i httpie # Install httpie, used to manipulate HTTP requests
i diff-so-fancy # Install diff-so-fancy, a nicer git diff
@ -60,6 +59,7 @@ i ctags # Install ctags, used with vim to create tags for formal languag
i shards # Install shards, a package manager for crystal
i npm # Install npm, a package manager for node.js
i llvm # Install llvm, used to make the crystal binary
i exa # Install exa, a drop-in replacement for ls (and tree)
i the_silver_searcher # Install ag, used to easily search through files
i fdupes # Install fdupes, used to quickly find duplicate files