This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| COPYRIGHT="UnionTech Software Technology Co., Ltd." | |
| LICENSE="GPL-3.0-or-later" | |
| DIR=$1 | |
| CURRENT_YEAR=`date +"%Y"` | |
| FILES=`find $DIR -type f -name "*.h" -o -name "*.cpp"` | |
| for FILE in $FILES; | |
| do | |
| PREPROCESSORS=`grep -n ^\# $FILE --binary-files=without-match` | |
| if [ -n "$PREPROCESSORS" ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| local wezterm = require 'wezterm' | |
| return { | |
| font = wezterm.font_with_fallback { | |
| 'JetBrainsMonoNL Nerd Font', | |
| 'Noto Sans Mono CJK SC', | |
| }, | |
| font_size = 14, | |
| audible_bell = "Disabled", | |
| use_fancy_tab_bar = false, | |
| color_scheme = "Breeze", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Enable Powerlevel10k instant prompt. Should stay close to the top of ~/.zshrc. | |
| # Initialization code that may require console input (password prompts, [y/n] | |
| # confirmations, etc.) must go above this block; everything else may go below. | |
| if [[ -r "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" ]]; then | |
| source "${XDG_CACHE_HOME:-$HOME/.cache}/p10k-instant-prompt-${(%):-%n}.zsh" | |
| fi | |
| ### Added by Zinit's installer | |
| if [[ ! -f $HOME/.local/share/zinit/zinit.git/zinit.zsh ]]; then |