Merge remote-tracking branch 'refs/remotes/origin/master'

This commit is contained in:
js0ny 2024-12-19 20:10:24 +00:00
commit ea9d6d0c5f
67 changed files with 5519 additions and 1591 deletions

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/common.zshrc
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# This is the entry point for all zsh configuration files
# 这是所有zsh配置文件的入口点

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/global.zshenv
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# $DOTFILES/tools/zsh/global.zshenv
# system-wide zshenv file 系统级别的 zshenv 文件,用于设置全局环境变量

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/mod/alias.zsh
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# Sourced by user's zshrc 在用户的 zshrc 中被引用
# PowerShell Equivalent, for cross-platform compatibility
@ -34,7 +34,7 @@ if command -v lsd > /dev/null; then
alias ls='lsd -A -I .DS_Store -I .git'
alias l='lsd -lah'
alias ll='lsd -l'
alias tree='lsd --tree -I .DS_Store -I .git'
alias tree='lsd --tree -I .DS_Store -I .git -A'
fi
# fzf - Fuzzy Finder
@ -92,3 +92,8 @@ if command -v brew > /dev/null; then
alias brewc="brew cleanup"
alias brewr="brew uninstall"
fi
alias -s {htm,html,css,scss,js,jsx,ts,tsx,json,jsonc}=code
alias -s {md,markdown}=code
alias -s {py,sh,rb,pl,php,java,c,cpp,h,hpp}=nvim
alias -s {cs,csx,fs,fsx,razor}=code

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/mod/config.zsh
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# Sourced by user's zshrc 在用户的 zshrc 中被引用
# ZSH Config, no need to `export` these variables
@ -38,8 +38,8 @@ done
# Use `set -k` to mark leading `#` as a comment character
set -k
# TODO: Below should be reorganized
export PATH=$HOME/.local/bin:$PATH
# # TODO: Below should be reorganized
# export PATH=$HOME/.local/bin:$PATH
export NVM_DIR="$HOME/.config/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
# export NVM_DIR="$HOME/.config/nvm"
# [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/mod/env.zsh
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# Sourced by user's zshrc 在用户的 zshrc 中被引用
# This file stores only environment variables that only called by

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/mod/keymap.zsh
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# Sourced by user's zshrc 在用户的 zshrc 中被引用

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/mod/navi.zsh
# Date: 2024-12-01
# Author: contact@js0ny.net
# Author: js0ny
# Sourced by user's zshrc 在用户的 zshrc 中被引用
# Relative navigation #

View file

@ -1,6 +1,6 @@
# $DOTFILES/tools/zsh/mod/prompt.zsh
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# Sourced by user's zshrc 在用户的 zshrc 中被引用
export STARSHIP_CONFIG=$DOTFILES/tools/starship/starship_zsh.toml

View file

@ -1,13 +1,13 @@
# $DOTFILES/tools/zsh/zshenv
# Date: 2024-11-30
# Author: contact@js0ny.net
# Author: js0ny
# User-specific environment variables for zsh 用户级别的 zsh 环境变量
# Location:
# $ZDOTDIR/.zshenv (specified by ZDOTDIR)
# ~/.zshenv (default location)
# Linking:
# ln -sf $DOTFILES/tools/zsh/.zshenv $ZDOTDIR/.zshenv
# ln -sf $DOTFILES/tools/zsh/zshenv $ZDOTDIR/.zshenv
# This file is sourced by all zsh sessions upon startup.
# For me (this user), define XDG Base Directory Specification variables