From fc4078dd763d97272c5c138b29c450d96976c7a0 Mon Sep 17 00:00:00 2001 From: pks Date: Fri, 12 Nov 2021 14:53:04 +0100 Subject: macos / work stuff --- by_os/Darwin/cups/.cups/lpoptions | 2 +- vim/.vim/colors/pks256.vim | 2 +- vim/.vimrc | 1 + zsh/.zshrc | 2 ++ zsh/.zshrc.work | 7 ++++--- 5 files changed, 9 insertions(+), 5 deletions(-) diff --git a/by_os/Darwin/cups/.cups/lpoptions b/by_os/Darwin/cups/.cups/lpoptions index c26cf6c..0204a0c 100644 --- a/by_os/Darwin/cups/.cups/lpoptions +++ b/by_os/Darwin/cups/.cups/lpoptions @@ -1 +1 @@ -Default Kyocera_ECOSYS_P6021cdn +Default iverson diff --git a/vim/.vim/colors/pks256.vim b/vim/.vim/colors/pks256.vim index ad7a34d..ea0b3e6 100644 --- a/vim/.vim/colors/pks256.vim +++ b/vim/.vim/colors/pks256.vim @@ -28,7 +28,7 @@ highlight MoreMsg cterm=none ctermfg=10 ctermbg=231 highlight Title cterm=none ctermfg=199 ctermbg=231 highlight WarningMsg cterm=none ctermfg=9 ctermbg=231 highlight DiffDelete cterm=none ctermfg=207 ctermbg=231 -highlight Search cterm=none ctermfg=15 ctermbg=231 +highlight Search cterm=none ctermfg=Red ctermbg=Black highlight Visual cterm=none ctermfg=16 ctermbg=50 highlight Cursor cterm=none ctermfg=201 ctermbg=201 highlight CursorLine cterm=none ctermfg=0 ctermbg=252 diff --git a/vim/.vimrc b/vim/.vimrc index ce949ff..9903cf0 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -20,6 +20,7 @@ set tabstop=2 set softtabstop=2 set shiftwidth=2 set expandtab +set smarttab set ruler set ttyfast set mouse=v 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