Added zshrc and update-pkg

This commit is contained in:
2024-10-30 21:22:52 +01:00
committed by Marcin Woźniak
parent e412dd8f56
commit 0428c99de7
2 changed files with 72 additions and 22 deletions

5
.zshrc
View File

@ -156,7 +156,7 @@ if [[ "$(uname)" == "Darwin" ]]; then
alias date='gdate'
alias lsblk="diskutil list"
alias Update="~/.local/bin/Update-pkg; brew update; brew upgrade"
alias Update="$HOME/.local/bin/Update-pkg; brew update; brew upgrade; sudo softwareupdate -i -a -R"
alias ls="ls -Gh"
alias mpv="mpv --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo[height<=?1080]+bestaudio/best'"
alias code="open -a 'Visual Studio Code'"
@ -225,5 +225,8 @@ setopt +o nomatch
# Error with icu
export DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=1
# Security changes made in High Sierra that are breaking lots of Python things that use fork()
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
# Error with Delinea - Linux
[ -f "/etc/ssl/certs/ca-certificates.crt" ] && export REQUESTS_CA_BUNDLE='/etc/ssl/certs/ca-certificates.crt'