From f9b3e3d8860ff076ab0a01d8cb76c6a3d72c4d07 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Fri, 11 Aug 2017 08:10:46 -0700 Subject: [PATCH] use exa for ls --- runcoms/zshrc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runcoms/zshrc b/runcoms/zshrc index a077ac5..5b9e161 100644 --- a/runcoms/zshrc +++ b/runcoms/zshrc @@ -23,7 +23,8 @@ bindkey "\en" history-beginning-search-forward alias be='bundle exec' alias tat='tmux new-session -As `basename $PWD | ruby -e "puts ARGF.read.strip.downcase.gsub(/[^\w]+/, ?-)"`' -alias plz='sudo' +alias plz=sudo +alias ls=exa function eject { command hdiutil eject `df | grep Volumes | grep -i "$@" | ruby -ne 'puts $_[/^[^ ]*/]'`; }