1
0
Fork 0

Update after switching to AOSC OS

This commit is contained in:
xtex 2024-08-06 09:35:34 +08:00
parent 3ec4c36924
commit c266c05487
Signed by: xtex
GPG key ID: B918086ED8045B91
10 changed files with 97 additions and 83 deletions

View file

@ -1,60 +0,0 @@
{
"files.autoSave": "afterDelay",
"editor.fontFamily": "'Fira Code', 'Droid Sans Mono', 'monospace', monospace",
"git.confirmSync": false,
"editor.fontLigatures": true,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"kerneldev.experimental.newDtsEngine": true,
"ctags.disable": true,
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"editor.formatOnPaste": true,
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jinja-html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"redhat.telemetry.enabled": false,
"zig.path": "zig",
"zig.zls.path": "/opt/zvm/bin/zls",
"zig.initialSetupDone": true,
"workbench.colorTheme": "Ayu Dark Bordered",
"files.associations": {
"Makefile.*": "makefile"
},
"git.enableCommitSigning": true,
"cmake.configureOnOpen": true,
"cmake.showOptionsMovedNotification": false,
"glsl-analyzer.path": "/home/xtex/.config/Code - Insiders/User/globalStorage/nolanderc.glsl-analyzer/glsl_analyzer_install/bin/glsl_analyzer",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"phpTools.suppressPremiumFeatures": true,
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"cmake.pinnedCommands": [
"workbench.action.tasks.configureTaskRunner",
"workbench.action.tasks.runTask"
],
"diffEditor.ignoreTrimWhitespace": false,
"zig.zls.enableAutofix": true,
"rust-analyzer.restartServerOnConfigChange": true,
"rust-analyzer.server.path": "/usr/bin/rust-analyzer",
"sqltools.format": {
"linesBetweenQueries": "preserve"
},
"[handlebars]": {
"editor.defaultFormatter": "vscode.html-language-features"
}
}

View file

@ -0,0 +1,72 @@
{
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"[json]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"[markdown]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[php]": {
"editor.defaultFormatter": "DEVSENSE.phptools-vscode"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"C_Cpp.intelliSenseEngine": "disabled",
"cmake.allowUnsupportedPresetsVersions": true,
"cmake.generator": "Ninja",
"cmake.showOptionsMovedNotification": false,
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": false,
"editor.inlineSuggest.enabled": true,
"editor.unicodeHighlight.allowedLocales": {
"zh-hans": true,
"zh-hant": true
},
"editor.unicodeHighlight.ambiguousCharacters": false,
"editor.unicodeHighlight.invisibleCharacters": true,
"editor.unicodeHighlight.nonBasicASCII": false,
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 5000,
"git.autofetch": true,
"git.autofetchPeriod": 360,
"git.confirmSync": false,
"git.enableCommitSigning": true,
"git.ignoreLimitWarning": true,
"git.statusLimit": 0,
"git.timeline.showUncommitted": true,
"git.useCommitInputAsStashMessage": true,
"github.gitProtocol": "ssh",
"go.toolsManagement.autoUpdate": true,
"kerneldev.experimental.newDtsEngine": true,
"python.analysis.autoImportCompletions": true,
"redhat.telemetry.enabled": false,
"rust-analyzer.showUnlinkedFileNotification": false,
"security.workspace.trust.untrustedFiles": "open",
"telemetry.telemetryLevel": "off",
"update.mode": "manual",
"workbench.colorTheme": "Material Theme Ocean High Contrast",
"workbench.editor.empty.hint": "hidden",
"workbench.iconTheme": "ayu",
"zig.checkForUpdate": false,
"zig.initialSetupDone": true,
"zig.zls.checkForUpdate": false,
"zig.zls.zigLibPath": "/opt/zig/bin/lib/",
"diffEditor.ignoreTrimWhitespace": false
}

View file

@ -3,23 +3,11 @@ if status is-interactive
end
alias g=git
alias gt=goto
function 0file; curl -F"file=@$argv" https://envs.sh; end
function 0pb; curl -F"file=@-;" https://envs.sh; end
function 0url; curl -F"url=$argv" https://envs.sh; end
function 0short; curl -F"shorten=$argv" https://envs.sh; end
# bun
set --export BUN_INSTALL "$HOME/.bun"
set --export PATH $BUN_INSTALL/bin $PATH
zoxide init fish | source
# pnpm
set -gx PNPM_HOME "/home/xtex/.local/share/pnpm"
if not string match -q -- $PNPM_HOME $PATH
set -gx PATH "$PNPM_HOME" $PATH
end
# pnpm end

View file

@ -1,3 +1 @@
jorgebucaran/fisher
edc/bass
reitzig/sdkman-for-fish

View file

@ -1,3 +1,3 @@
[core]
excludesFile = /mnt/src/workspace/mediawiki/.git/info/exclude
hooksPath = /mnt/src/workspace/mediawiki/.git/hooks/
excludesFile = /mnt/src/wm/mediawiki/.git/info/exclude
hooksPath = /mnt/src/wm/mediawiki/.git/hooks/

View file

@ -1 +0,0 @@
source /opt/pwndbg/gdbinit.py

View file

@ -45,15 +45,25 @@
ol = "log --oneline"
c = commit
p = push
pp = push --force
g = pull
f = fetch
ff = fetch --force
fp = fetch --prune
s = status
sh = show
a = add
br = branch
brd = branch -d
brdd = branch -D
d = diff
dt = difftool
cp = cherry-pick
pick = cherry-pick
pk = cherry-pick
r = review
stag = "send-email --to=~xtex/staging@lists.sr.ht"
rs = reset --hard
ft = feature
staging = "send-email --to=~xtex/staging@lists.sr.ht"
[sendemail]
smtpServer = mail.envs.net
smtpEncryption = ssl
@ -83,9 +93,11 @@
date = iso
[rebase]
missingCommitsCheck = error
[includeIf "gitdir:/mnt/src/workspace/mediawiki/"]
[includeIf "gitdir:/mnt/src/wm/mediawiki/"]
path = ~/.config/git/mediawiki.conf
[format]
useAutoBase = true
[sequence]
editor = interactive-rebase-tool
[fetch]
prune = true

5
.gitignore vendored
View file

@ -15,9 +15,8 @@
!/.config/user-dirs.dirs
!/.config/autostart/ssh-add.desktop
!/.config/environment.d/
!/.config/Code - Exploration/User/settings.json
!/.config/Code - Insiders/User
!/.config/Code - Insiders/User/settings.json
!/.config/Code/User
!/.config/Code/User/settings.json
!/.config/fish/config.fish
!/.config/fish/fish_plugins
!/.config/kdeconnect/config

4
.profile Normal file
View file

@ -0,0 +1,4 @@
. /opt/rust/bin/env
# ZVM
export PATH="/opt/zig/bin:$PATH"

View file

@ -1,2 +1,4 @@
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC9Xq225dYzTPQLc3ixSeRSlaq/8pSTAVI+flvSMMApe xtex@xtexx.eu.org
sk-ssh-ed25519@openssh.com AAAAGnNrLXNzaC1lZDI1NTE5QG9wZW5zc2guY29tAAAAIBec9mnzRi149os0tSb2zA0aJf/c7/6wF6W5weK8+fHPAAAABHNzaDo= xtex.sk@xtexx.eu.org
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJclUsyinuDHfH+dX47VHxnxqFmH9yLAnCJ9EUlowbE6 xtex@termux.chicago.local