changed some

This commit is contained in:
2024-08-21 01:24:22 +02:00
parent 319fceddd0
commit acd6b00420
8 changed files with 323 additions and 39 deletions

18
.zshrc
View File

@ -70,7 +70,7 @@ DISABLE_UNTRACKED_FILES_DIRTY="true"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup.
plugins=(git zsh-autosuggestions macos pip pyenv docker colorize copyfile brew)
plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting macos pip pyenv docker colorize copyfile brew)
source $ZSH/oh-my-zsh.sh
@ -130,11 +130,14 @@ alias zshconfig="$EDITOR ~/.zshrc"
alias zshreload="source ~/.zshrc"
alias zshsource="source ~/.zshrc"
alias home="cd ~"
alias userchrome="$EDITOR /Users/paul/Library/Application\ Support/Firefox/Profiles/k37hu3wo.default-release/chrome/userChrome.css"
alias userchrome="$EDITOR ~/.mozilla/firefox/jcjwalyb.default-release/chrome/userChrome.css"
alias kw='echo Current Week: $((10#$(date +"%V")))'
alias wol=wakeonlan
alias ge=gnome-extensions
alias open="xdg-open"
alias lg="lazygit"
alias R="R --no-save"
# Python tkinter stuff
export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
@ -142,17 +145,7 @@ export PATH="/usr/local/opt/tcl-tk/bin:$PATH"
# autojump
[ -f /opt/homebrew/etc/profile.d/autojump.sh ] && . /opt/homebrew/etc/profile.d/autojump.sh
# spicetify
alias sba="spicetify backup apply"
# bitwarden-cli
alias bw='NODE_OPTIONS="--no-deprecation" bw'
# connect to smb shares
alias mount-ds='[ -e "/Volumes/pauls-dateien" ] || open "smb://paul@192.168.193.68/pauls-dateien"'
# vscode shortcuts
alias ma="code --folder-uri=vscode-remote://ssh-remote+sralab/home/2021/pau.aumann/ma"
alias ws="cd ~/code/wasteside && code . && tmux new -A -s wasteside"
# Fix ls colors for synology directories
@ -169,6 +162,7 @@ SAVEHIST=10000
# reload "blur my shell"
alias blur-my-shell="gnome-extensions disable blur-my-shell@aunetx && gnome-extensions enable blur-my-shell@aunetx"
alias bms=blur-my-shell
bms # run it, so it reloads on terminal open
# zoxide
eval "$(zoxide init --cmd cd zsh)"