chezmoi: zsh, starship

This commit is contained in:
js0ny 2025-09-27 12:11:09 +01:00
parent 0051a163c3
commit 2cbf244d7b
17 changed files with 0 additions and 1102 deletions

View file

@ -1,37 +0,0 @@
# $DOTFILES/tools/zsh/common.zshrc
# Date: 2024-11-30
# Author: js0ny
# This is the entry point for all zsh configuration files
# 这是所有zsh配置文件的入口点
# Location: $ZDOTDIR/.zshrc (default: $HOME/.zshrc)
# Linking:
# ln -sf $DOTFILES/tools/zsh/common.zshrc $ZDOTDIR/.zshrc
export DOTFILES=$HOME/.dotfiles
case "$(uname)" in
Linux)
if grep -q Microsoft /proc/version || [[ -n "$WSL_DISTRO_NAME" ]]; then
# WSL-specific configuration
source "$DOTFILES/platforms/wsl/zshrc"
else
# Native Linux configuration
source "$DOTFILES/platforms/linux/zshrc"
fi
;;
Darwin)
# macOS-specific configuration
source "$DOTFILES/platforms/mac/zshrc"
;;
# CYGWIN*|MINGW*|MSYS*)
# source "$DOTFILES/platform/wsl.zsh"
# ;;
esac
for file in $DOTFILES/tools/zsh/mod/*.zsh; do
source $file
done
[ -f "/home/js0ny/.local/share/ghcup/env" ] && . "/home/js0ny/.local/share/ghcup/env" # ghcup-env
. "/home/js0ny/.deno/env"