From 9083dacce3d0cb17972a95d2dd3709c63cd3d8bf Mon Sep 17 00:00:00 2001 From: MorganGeek Date: Mon, 13 Jul 2020 16:09:39 +0200 Subject: [PATCH] aliases on MacOs : open Finder, clear screen --- dot_aliases/macos.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dot_aliases/macos.sh b/dot_aliases/macos.sh index b28d073..01bf92d 100755 --- a/dot_aliases/macos.sh +++ b/dot_aliases/macos.sh @@ -16,3 +16,6 @@ alias loginhistory='lastlogin' # Also, clear Appleā€™s System Logs to improve shell startup speed. # Finally, clear download history from quarantine. https://mths.be/bum alias emptytrash="sudo rm -rfv /Volumes/*/.Trashes; sudo rm -rfv $HOME/.Trash; sudo rm -rfv /private/var/log/asl/*.asl; sqlite3 $HOME/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent'" +# via https://github.com/richinfante/dotfiles/blob/0e1df2d833257e3a3ca2e4fcc8f2f128d52b5d29/dotfiles/.profile_setup/30-aliases.sh +alias finder="open ." +alias cls="clear; printf '\e[3J'"