From 1d706424798a074c2103c2e3afdcf116c79c6f10 Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Sat, 29 Oct 2022 01:34:54 +0000 Subject: [PATCH] Update dotfiles/.profile --- dotfiles/.profile | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/dotfiles/.profile b/dotfiles/.profile index c59fa44f..652b9da6 100644 --- a/dotfiles/.profile +++ b/dotfiles/.profile @@ -51,18 +51,6 @@ down4me() { curl -s "http://www.downforeveryoneorjustme.com/$1" | sed '/just you/!d;s/<[^>]*>//g' } -# GAM - a command-line tool for Google Workspace. This alias will run gam or install gam if it is not already installed. Includes type check in case gam is aliased for git. -if ! type gam &>/dev/null; then - gam() { - if command -v gam >/dev/null; then - gam "$@" - else - TMP="$(mktemp)" && curl -sSL https://git.io/install-gam >"$TMP" && bash "$TMP" - gam "$" - fi - } -fi - find() { if [ $# = 1 ]; then # shellcheck disable=SC2145 @@ -79,7 +67,6 @@ gitopen() { glog() { setterm -linewrap off 2>/dev/null - git --no-pager log --all --color=always --graph --abbrev-commit --decorate --date-order \ --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' "$@" | sed -E \ @@ -95,7 +82,6 @@ glog() { -e 's/^\*|(\x1b\[m )\*/\1⎬/g' \ -e 's/(\x1b\[[0-9;]*m)\|/\1│/g' | command less -r "$([ $# -eq 0 ] && echo "+/[^/]HEAD")" - setterm -linewrap on 2>/dev/null }