From 68239029dd4cbdcd013d501f8078e868e61bc439 Mon Sep 17 00:00:00 2001 From: Lynda Wang Date: Sun, 2 Aug 2020 14:03:26 -0400 Subject: [PATCH] Update OSX aliases --- aliases | 4 ++-- osx/install | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/aliases b/aliases index 348fab9..60b08c8 100644 --- a/aliases +++ b/aliases @@ -386,9 +386,9 @@ if [[ $platform == 'Linux' ]]; then elif [[ $platform == 'Darwin' ]]; then alias l='ls -laG' - alias ls='ls -laG' alias ll='ls -lG' - # TODO add a trash alias for trash-cli? or brew install rmtrash + alias trash='rmtrash' + alias tt='rmtrash' elif [[ "${platform,,}" == *'ming'* ]]; then # convert to lowercase then compare with wildcard alias python='winpty python.exe' diff --git a/osx/install b/osx/install index 3b8ce31..729dde6 100755 --- a/osx/install +++ b/osx/install @@ -46,6 +46,7 @@ brew_packages=( 'vim' 'sdl' 'tree' + 'rmtrash' ) brew tap homebrew/core for package in "${brew_packages[@]}"