From fc4078dd763d97272c5c138b29c450d96976c7a0 Mon Sep 17 00:00:00 2001 From: pks Date: Fri, 12 Nov 2021 14:53:04 +0100 Subject: macos / work stuff --- zsh/.zshrc | 2 ++ zsh/.zshrc.work | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'zsh') diff --git a/zsh/.zshrc b/zsh/.zshrc index bd26310..904efe5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -343,10 +343,12 @@ case $_HOST_TYPE in ;; Darwin) alias ls='ls -h -G' + alias grep='ggrep' export LD_LIBRARY_PATH=$HOME/.local/lib:$LD_LIBRARY_PATH if [[ -d /Library/TeX/texbin/ ]]; then export PATH=/Library/TeX/texbin:$PATH fi + alias afk="/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend" ;; Linux) alias ls='ls -h --color=auto' diff --git a/zsh/.zshrc.work b/zsh/.zshrc.work index aa8f506..d3e4f1f 100644 --- a/zsh/.zshrc.work +++ b/zsh/.zshrc.work @@ -1,3 +1,4 @@ -if [[ `on_gcloud` == "yes" || `on_aws` == "yes" ]]; then - umask 0022 -fi +umask 0022 +export PATH=~/google-cloud-sdk/bin:$PATH +if [ -f '/home/pks/work/google-cloud-sdk/path.zsh.inc' ]; then . '/home/pks/work/google-cloud-sdk/path.zsh.inc'; fi +if [ -f '/home/pks/work/google-cloud-sdk/completion.zsh.inc' ]; then . '/home/pks/work/google-cloud-sdk/completion.zsh.inc'; fi -- cgit v1.2.3