-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/lachlantula/dots
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
set fish_greeting | ||
|
||
alias vim='nvim' | ||
alias update='brew update; brew upgrade; brew cleanup; brew doctor' | ||
abbr -a -g new open -n '/Applications/Alacritty.app' | ||
|
||
function b | ||
set HOMEBREW_NO_AUTO_UPDATE 1 | ||
brew | ||
end | ||
|
||
function update | ||
brew update | ||
brew upgrade | ||
brew cleanup | ||
brew doctor | ||
end | ||
|
||
function clean | ||
echo '!-- This might take a moment.' | ||
echo '!- Running Homebrew update and cleanup...' | ||
update | ||
echo '!- Clearing out temporary downloads...' | ||
rm -r ~/Downloads/temp/* | ||
echo '!-- All done. Thanks for using `clean` by Lachlan Shoesmith (@lachlantula).' | ||
end |