summaryrefslogtreecommitdiff
path: root/.bashrc
diff options
context:
space:
mode:
authorHunter Kvalevog <hunter@kvog.sh>2026-08-30 10:03:33 -0700
committerHunter Kvalevog <hunter@kvog.sh>2026-08-30 10:03:33 -0700
commit24dc425f5030e710dcd6730a82ed6f0209e010cc (patch)
treee9abf4bc1d8a5d4f0c55aaebd263bc1e8513be53 /.bashrc
parent217e66fa192ddd08348cd2b8930153ebf7e70db8 (diff)
Diffstat (limited to '.bashrc')
-rwxr-xr-x.bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/.bashrc b/.bashrc
index 18ab8e4..7fdd606 100755
--- a/.bashrc
+++ b/.bashrc
@@ -8,6 +8,14 @@ DOTFILES_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
export PATH="$DOTFILES_DIR/bin:$PATH"
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+# MSYS2 stuff
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
+KERNEL="$(uname -s)"
+if [[ "$KERNEL" == MSYS* || "$KERNEL" == MINGW* || "$KERNEL" == CLANG* ]]; then
+ export MSYS=winsymlinks:nativestrict
+fi
+
+# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# Prompt
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
git_branch() {