summaryrefslogtreecommitdiff
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.zshrc2
-rw-r--r--zsh/.zshrc.work7
2 files changed, 6 insertions, 3 deletions
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