sync: from WSL

This commit is contained in:
js0ny 2024-12-19 20:09:50 +00:00
parent 7d220c3873
commit 85f6d8799c
5 changed files with 25 additions and 8 deletions

2
.gitignore vendored
View file

@ -35,6 +35,8 @@ PowerToys/
Justfile Justfile
# Nushell # Nushell
tools/nushell/ tools/nushell/
# fzf
common/fzfrc
# OS generated files # OS generated files
.DS_Store .DS_Store

View file

@ -9,7 +9,7 @@ bind C-a send-prefix
# Options # Options
set-option -g mouse on set-option -g mouse on
set-option -g default-terminal "screen-256color" set-option -g default-terminal "tmux-256color"
set-option -g allow-rename on set-option -g allow-rename on
set-option -g alternate-screen on set-option -g alternate-screen on
set-option -g visual-activity on set-option -g visual-activity on
@ -54,8 +54,17 @@ bind ` resize-pane -Z
# Status Bar # Status Bar
# ----------------- # -----------------
# set -g status-position top
# set-option -g status-bg black
# set-option -g status-fg white
# set-option -g status-left '#[fg=green][#S] '
# setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W '
set -g status-position top set -g status-position top
set-option -g status-bg black set -g @catppuccin_flavor "frappe"
set-option -g status-fg white run ~/.config/tmux/plugins/catppuccin/tmux/catppuccin.tmux
set-option -g status-left '#[fg=green][#S] ' set -g status-right-length 100
setw -g window-status-current-format '#[fg=colour236,bg=colour39] #I #W ' set -g status-left-length 100
set -g status-left ""
set -g status-right "#{E:@catppuccin_status_application}"
set -ag status-right "#{E:@catppuccin_status_session}"

View file

@ -3,7 +3,7 @@
# Defines the interop commands between WSL and Windows # Defines the interop commands between WSL and Windows
export FILE_EXPLORER="dopus.exe" # Directory Opus export FILE_EXPLORER="explorer.exe" # Directory Opus
alias clip="clip.exe" alias clip="clip.exe"
alias xclip="clip.exe" alias xclip="clip.exe"

View file

@ -26,8 +26,8 @@ alias pulldots="cd $DOTFILES && git pull"
# Editors # # Editors #
alias v=nvim alias v=nvim
alias c=code alias c=code
alias sv="sudo vim" alias sv="sudo vim -u ~/.config/vim/vimrc"
alias sn="sudo nvim" alias sn="sudo nvim -u ~/.config/nvim/init.lua"
# lsd - modern ls # lsd - modern ls
if command -v lsd > /dev/null; then if command -v lsd > /dev/null; then
@ -37,6 +37,9 @@ if command -v lsd > /dev/null; then
alias tree='lsd --tree -I .DS_Store -I .git' alias tree='lsd --tree -I .DS_Store -I .git'
fi fi
# fzf - Fuzzy Finder
# export FZF_DEFAULT_OPTS_FILE=~/.dotfiles/common/fzfrc
# Functions # # Functions #
mkcd() { mkcd() {
mkdir -p $1 && cd $1 mkdir -p $1 && cd $1

View file

@ -9,6 +9,9 @@ HIST_STAMPS="yyyy-mm-dd"
HISTSIZE=10000 HISTSIZE=10000
SAVEHIST=10000 SAVEHIST=10000
export LANG=zh_CN.UTF-8
export LC_ALL=zh_CN.UTF-8
# Manually manage plugins 手动管理插件 # Manually manage plugins 手动管理插件
# Load zsh-syntax-highlighting before zsh-history-substring-search # Load zsh-syntax-highlighting before zsh-history-substring-search