From a5fa565357fd05f60dd8441e652a2ef930cd9dc6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Tue, 16 Jun 2026 22:49:43 +0200 Subject: [PATCH 1/3] Changed from `afp to smb` in `mount-synology` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .local/bin/mount-synology | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.local/bin/mount-synology b/.local/bin/mount-synology index 508f4b6..6f527f2 100755 --- a/.local/bin/mount-synology +++ b/.local/bin/mount-synology @@ -1,24 +1,24 @@ #!/bin/bash ~/.local/bin/sidebar-restore-macos -open -gj "afp://10.0.0.14/Downloads" +open -gj "smb://10.0.0.14/Downloads" sleep 10 -open -gj "afp://10.0.0.14/Anime" +open -gj "smb://10.0.0.14/Anime" sleep 2 -open -gj "afp://10.0.0.14/Music" +open -gj "smb://10.0.0.14/Music" sleep 2 -open -gj "afp://10.0.0.14/Video" +open -gj "smb://10.0.0.14/Video" sleep 2 -open -gj "afp://10.0.0.14/Series" +open -gj "smb://10.0.0.14/Series" sleep 2 -open -gj "afp://10.0.0.14/photo" +open -gj "smb://10.0.0.14/photo" sleep 2 -open -gj "afp://10.0.0.14/Backups" +open -gj "smb://10.0.0.14/Backups" sleep 2 -open -gj "afp://10.0.0.14/Recordings" +open -gj "smb://10.0.0.14/Recordings" sleep 2 -open -gj "afp://10.0.0.14/Work" +open -gj "smb://10.0.0.14/Work" sleep 2 -open -gj "afp://10.0.0.14/Dokumenty" +open -gj "smb://10.0.0.14/Dokumenty" sleep 2 /usr/local/bin/mysides add Synology file:///Volumes/Recordings/ From e7472835f0885b4b5b58ec8a6f3cfcc5c9ae6085 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 27 Jun 2026 23:06:56 +0200 Subject: [PATCH 2/3] .zshrc: added homebrew supported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .zshrc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 89eb187..8baad48 100644 --- a/.zshrc +++ b/.zshrc @@ -109,6 +109,11 @@ alias dt='LC_TIME=C /bin/date "+%Y%m%d%H%M%S"' # Alias and Export for Mac if [[ "$(uname)" == "Darwin" ]]; then + # Enabling a HOMEBREW in preview versions of MacOS + export HOMEBREW_DEVELOPER=1 + export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 + export HOMEBREW_CASK_OPTS="--appdir=~/Applications" + # Resolve problem with GOPATH # https://stackoverflow.com/questions/66284870/go-get-not-downloading-to-src-folder export GO111MODULE=on @@ -147,7 +152,7 @@ if [[ "$(uname)" == "Darwin" ]]; then alias date='gdate' alias lsblk="diskutil list" - alias Update="$HOME/.local/bin/Update-pkg; brew update; brew upgrade; brew upgrade --greedy; sudo softwareupdate -i -a -R" + alias Update="$HOME/.local/bin/Update-pkg; yes | brew update; yes | brew upgrade; yes | brew upgrade --greedy; yes | sudo softwareupdate -i -a -R" alias ls="ls -Gh" alias mpv="mpv --ytdl-raw-options="yes-playlist=" --no-resume-playback --ytdl-format='bestvideo+bestaudio/best'" alias code="open -a 'Visual Studio Code'" From 2b710127997bc72c48ced23a188f5e51d935daa4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcin=20Wo=C5=BAniak?= Date: Sat, 27 Jun 2026 23:19:03 +0200 Subject: [PATCH 3/3] zshrc: finder has been added as command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marcin Woźniak --- .zshrc | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 8baad48..5aa52d4 100644 --- a/.zshrc +++ b/.zshrc @@ -57,7 +57,6 @@ export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus export _JAVA_AWT_WM_NONREPARENTING=1 export CCACHE_DIR="/usr/ccache" -export LC_ALL="en_US.UTF-8" export LANG=en_US.UTF-8 export LC_ALL=en_US.UTF-8 export BROWSER=$HOME/.local/bin/browser-x @@ -109,6 +108,12 @@ alias dt='LC_TIME=C /bin/date "+%Y%m%d%H%M%S"' # Alias and Export for Mac if [[ "$(uname)" == "Darwin" ]]; then + # Unsetting LANGs and settings it + unset LANG LC_ALL + + export LC_ALL=C.UTF-8 + export LANG=C.UTF-8 + # Enabling a HOMEBREW in preview versions of MacOS export HOMEBREW_DEVELOPER=1 export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 @@ -163,6 +168,7 @@ if [[ "$(uname)" == "Darwin" ]]; then alias restart-network-share="sudo pkill -i netauthsysagent" alias streamlink="streamlink --config $HOME/.config/streamlink/config" alias powershell="pwsh" + alias finder="open -a Finder ." # Terraform export TFENV_ARCH=amd64