mac updates

bobsled/mac_updates
Adam Veldhousen 9 months ago
parent 68c65fe069
commit 5848e8f94f
No known key found for this signature in database

@ -1,7 +1,8 @@
#!/bin/env bash
export LINUX_BREW_PATH="/home/linuxbrew/.linuxbrew";
export MAC_BREW_PATH="/usr/local/Homebrew";
export MAC_BREW_PATH="/opt/homebrew/";
if [[ ! -d "${LINUX_BREW_PATH}" && ! -d "${MAC_BREW_PATH}" ]]; then
echo "Installing brew";

@ -1,6 +1,7 @@
[alias]
# View abbreviated SHA, description, and history graph
ls = log --pretty=format:'%Cblue%h -%d %Cgreen%an %Creset%s - %Cred%GS' --abbrev-commit --date=relative --branches --graph -n 45
ls = log --pretty=format:'%Cblue%h -%d %Cgreen%an %Creset%s - %Cred%GS' --abbrev-commit --date=relative --branches --graph -n 75
lsa = log --pretty=format:'%Cblue%h -%d %Cgreen%an %Creset%s - %Cred%GS' --abbrev-commit --date=relative --branches --graph
# View the current working tree status using the short format
s = status -s
@ -22,12 +23,6 @@
# Commit all changes
ca = !git add -A && git commit -av -S
# commits with gpgsign flag
cs = commit -S
# commits with gpgsign and inline message flag
csm = commit -S -m
# Switch to a branch, creating it if necessary
go = checkout -B
@ -129,9 +124,6 @@
summary = true
# URL shorthands
[url "https://git.vdhsn.com"]
insteadOf = git@git.vdhsn.com
[url "git://github.com/"]
insteadOf = "github:"
@ -170,3 +162,6 @@
[gpg]
program = gpg
[rerere]
enabled = true

Loading…
Cancel
Save