diff options
author | pks <pks@pks.rocks> | 2021-11-12 14:53:04 +0100 |
---|---|---|
committer | pks <pks@pks.rocks> | 2021-11-12 14:53:04 +0100 |
commit | fc4078dd763d97272c5c138b29c450d96976c7a0 (patch) | |
tree | 3100c448fc4b8076d47227afe6391caa0545fcc9 /zsh | |
parent | 965b6c756f1d3ea8ad0e2854ac5421ea99f08388 (diff) |
macos / work stuff
Diffstat (limited to 'zsh')
-rw-r--r-- | zsh/.zshrc | 2 | ||||
-rw-r--r-- | zsh/.zshrc.work | 7 |
2 files changed, 6 insertions, 3 deletions
@@ -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 |