From b1f514f22fa9ad053bc914b8d22750a5ccebfa9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Doma=C5=84ski?= Date: Fri, 23 Feb 2024 14:49:21 +0100 Subject: [PATCH] exec cd function, so on new splits venv etc are sourced --- .config/scriptrc/cd.sh | 2 ++ .config/scriptrc/mac.sh | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.config/scriptrc/cd.sh b/.config/scriptrc/cd.sh index 28bb764..0a058ef 100644 --- a/.config/scriptrc/cd.sh +++ b/.config/scriptrc/cd.sh @@ -36,3 +36,5 @@ function cdd cd +$1 fi } + +cd $PWD diff --git a/.config/scriptrc/mac.sh b/.config/scriptrc/mac.sh index f2eaaf0..8764bb7 100644 --- a/.config/scriptrc/mac.sh +++ b/.config/scriptrc/mac.sh @@ -3,7 +3,6 @@ setupmac() { defaults write -g InitialKeyRepeat -int 12 defaults write -g KeyRepeat -int 1 defaults write com.apple.Dock autohide-delay -float 0 - defaults write -g com.apple.mouse.scaling -integer -1 } function disable_hot_corners(){