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
" ===================================== | |
" Vim configuration for multilingual code editing | |
" ===================================== | |
" --- 編碼設定 --- | |
set encoding=utf-8 | |
set termencoding=utf-8 | |
set fileencodings=utf-8,ucs-bom,big5,gbk,latin1 | |
set fileencoding=utf-8 " 儲存時統一為 UTF-8 |
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
{ | |
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", | |
"transient_prompt": { | |
"template": " ~#@❯ ", | |
"foreground": "darkGray", | |
"background": "transparent" | |
}, | |
"upgrade": { | |
"source": "cdn", | |
"interval": "168h", |
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
# Get editor completions based on the config schema | |
"$schema" = 'https://starship.rs/config-schema.json' | |
format = """$os\ | |
$username\ | |
$hostname\ | |
$directory\ | |
$git_branch\ | |
$git_status\ | |
$c\ |
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
file(GLOB src_file_list RELATIVE "${src_dir}" "${src_dir}/*") | |
file(GLOB dst_file_list RELATIVE "${dst_dir}" "${dst_dir}/*") | |
set(_synced_file_list) | |
foreach (each_file ${src_file_list}) | |
set(dst_file "${dst_dir}/${each_file}") | |
set(src_file "${src_dir}/${each_file}") | |
if (EXISTS "${src_file}" AND EXISTS "${dst_file}") | |
file(SHA1 "${src_file}" src_file_hash) |