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/sh | |
# --- 設定區 --- | |
# 目標資料夾就是目前的資料夾 | |
TARGET_DIR="$(pwd)" | |
# --- 執行區 --- | |
SCRIPT_NAME="$(basename "$0")" | |
echo "--- 開始整理資料夾: $TARGET_DIR ---" |
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 | |
# --- 設定區 --- | |
# 目標資料夾就是目前的資料夾 | |
TARGET_DIR="$(pwd)" | |
# --- 執行區 --- | |
SCRIPT_NAME="$(basename "$0")" | |
echo "--- 開始整理資料夾: $TARGET_DIR ---" |
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
// use bcdedit /enum firmware to find the id of Linux EFI id | |
// in administrator mode | |
bcdedit /set {fwbootmgr} bootsequence {id} | |
shutdown /r /t 3 |
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 | |
sudo efibootmgr -n $(echo $(efibootmgr) | grep -Po "(?<=Boot)\S{4}(?=( |\* )Windows)") && reboot |
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
// | |
// THIS FILE WAS AUTOGENERATED BY ZELLIJ, THE PREVIOUS FILE AT THIS LOCATION WAS COPIED TO: /Users/rliu04/.config/zellij/config.kdl.bak | |
// | |
default_shell "fish" | |
keybinds clear-defaults=true { | |
normal { | |
bind "Shift left" { GoToPreviousTab; } | |
bind "Shift right" { GoToNextTab; } |
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
# Linux | |
command = /usr/bin/fish --login --interactive | |
shell-integration = fish | |
theme = Dracula+ | |
quick-terminal-position = top | |
keybind = alt+shift+f12=toggle_quick_terminal | |
===== ==== ====== ============================== | |
# macOS |
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
version = 2 | |
final_space = true | |
console_title_template = '{{ .Shell }} in {{ .Folder }}' | |
[[blocks]] | |
type = 'prompt' | |
alignment = 'left' | |
newline = true | |
[[blocks.segments]] |
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
# Oh my posh | |
oh-my-posh init pwsh --config "~/.config/ohmyposh/omp_theme.toml" | Invoke-Expression | |
# Custom Modules | |
Enable-PoshTooltips | |
Import-Module posh-git | |
Install-Module -Name posh-alias | |
Import-Module Terminal-Icons | |
# Enable Auto complete |
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
# Tmux Plugins Manager | |
# List of plugins | |
set -g @plugin 'tmux-plugins/tpm' | |
set -g @plugin 'tmux-plugins/tmux-sensible' | |
# plugins: Vim Tmux navigation | |
set -g @plugin 'christoomey/vim-tmux-navigator' | |
# plugins: tmux-yank | |
set -g @plugin 'tmux-plugins/tmux-yank' |
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
/* Nord Vomnibar CSS */ | |
/* Installation: Open Vimium Options -> Click "Show Advanced Options" and paste this into the CSS for Vimium UI text area. */ | |
#vomnibar ol, #vomnibar ul { | |
list-style: none; | |
display: none; | |
} | |
#vomnibar { | |
background: rgba(46, 52, 68, 0.9); |
NewerOlder