mirror of
https://github.com/tiyn/dotfiles.git
synced 2026-07-02 12:51:34 +02:00
Compare commits
24 Commits
f01c70951e
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| 04f9ac187a | |||
| 803472b1c9 | |||
| 6e00342044 | |||
| d06a7bddf4 | |||
| e32eb6eebd | |||
| 29ac82a412 | |||
| 641a124fe3 | |||
| 71d23fa096 | |||
| 8dde717180 | |||
| a148a5a7a4 | |||
| 3118f9d40f | |||
| f11f68c751 | |||
| ec77543d6b | |||
| b82bfff551 | |||
| d579220afd | |||
| 0aab087f11 | |||
| b2fd0f3b25 | |||
| 1bc5e80e40 | |||
| ac9f4465f6 | |||
| 37e4d7faa6 | |||
| a8daed6c20 | |||
| fba1aecfd4 | |||
| 1a9711c43f | |||
| c48a286a66 |
@@ -74,11 +74,11 @@ alias contacts="khard"
|
||||
# kolourpaint
|
||||
alias paint="kolourpaint"
|
||||
|
||||
# ls(d)
|
||||
alias l="exa --group-directories-first --icons"
|
||||
alias la="exa -la --group-directories-first --icons --git"
|
||||
alias ll="exa -l --group-directories-first --icons --git"
|
||||
alias tree="exa --tree --group-directories-first --icons"
|
||||
# ls
|
||||
alias l="eza --group-directories-first --icons"
|
||||
alias la="eza -la --group-directories-first --icons --git"
|
||||
alias ll="eza -l --group-directories-first --icons --git"
|
||||
alias tree="eza --tree --group-directories-first --icons"
|
||||
|
||||
# mkdir
|
||||
alias mkdir="mkdir -p"
|
||||
@@ -99,9 +99,6 @@ alias octave="octave --persist"
|
||||
# pacman
|
||||
alias pac="sudo pacman"
|
||||
|
||||
# papis
|
||||
alias papis='PYTHONWARNINGS=ignore::DeprecationWarning python -m papis'
|
||||
|
||||
# ping
|
||||
alias ping="ping -c 5"
|
||||
|
||||
|
||||
161
.config/gitignore/python
Normal file
161
.config/gitignore/python
Normal file
@@ -0,0 +1,161 @@
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/venv,python
|
||||
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
.pybuilder/
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
#Pipfile.lock
|
||||
|
||||
# poetry
|
||||
#poetry.lock
|
||||
|
||||
# pdm
|
||||
#pdm.lock
|
||||
.pdm.toml
|
||||
|
||||
# PEP 582
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
||||
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
||||
|
||||
# PyCharm
|
||||
#.idea/
|
||||
|
||||
### Python Patch ###
|
||||
poetry.toml
|
||||
|
||||
# ruff
|
||||
.ruff_cache/
|
||||
|
||||
# LSP config files
|
||||
pyrightconfig.json
|
||||
|
||||
### venv ###
|
||||
[Bb]in
|
||||
[Ii]nclude
|
||||
[Ll]ib
|
||||
[Ll]ib64
|
||||
[Ll]ocal
|
||||
[Ss]cripts
|
||||
pyvenv.cfg
|
||||
pip-selfcheck.json
|
||||
@@ -4,7 +4,7 @@
|
||||
"agentic.nvim": { "branch": "main", "commit": "3e6175c1141cc3cb5cc08e98bff01b06a0a67467" },
|
||||
"auto-session": { "branch": "main", "commit": "62437532b38495551410b3f377bcf4aaac574ebe" },
|
||||
"barbecue": { "branch": "main", "commit": "cd7e7da622d68136e13721865b4d919efd6325ed" },
|
||||
"blink.download": { "branch": "main", "commit": "dda2666685a5ac3598166577d2e34f1fff6b1637" },
|
||||
"blink.download": { "branch": "main", "commit": "a459c8fbf51359902971874b5ebe05f6602db8b4" },
|
||||
"blink.pairs": { "branch": "main", "commit": "4e43012356d33a26f69eae475f746fbe9f325f44" },
|
||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||
"cmp-dictionary": { "branch": "main", "commit": "fecc3ef2435c2be35818f8fcac4a6c5655f3a8f0" },
|
||||
@@ -13,7 +13,7 @@
|
||||
"cmp-under-comparator": { "branch": "master", "commit": "6857f10272c3cfe930cece2afa2406e1385bfef8" },
|
||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||
"comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
|
||||
"conform.nvim": { "branch": "master", "commit": "dca1a190aa85f9065979ef35802fb77131911106" },
|
||||
"conform.nvim": { "branch": "master", "commit": "086a40dc7ed8242c03be9f47fbcee68699cc2395" },
|
||||
"cpsm": { "branch": "master", "commit": "c32a9b7dc9d5b516505bc8ab58ceb15f64735830" },
|
||||
"csvview.nvim": { "branch": "main", "commit": "7022e18a0fbae9aecf99a3ba02b2a541edc2b8a1" },
|
||||
"dial.nvim": { "branch": "master", "commit": "f2634758455cfa52a8acea6f142dcd6271a1bf57" },
|
||||
@@ -22,43 +22,43 @@
|
||||
"file-renamer.nvim": { "branch": "master", "commit": "da78d496ffb3dd55a4c70b4a9c28686630a57d3a" },
|
||||
"fterm.nvim": { "branch": "master", "commit": "d1320892cc2ebab472935242d9d992a2c9570180" },
|
||||
"fzy-lua-native": { "branch": "master", "commit": "9d720745d5c2fb563c0d86c17d77612a3519c506" },
|
||||
"git-blame.nvim": { "branch": "master", "commit": "2883a7460f611c2705b23f12d58d398d5ce6ec00" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "6d808f99bd63303646794406e270bd553ad7792e" },
|
||||
"git-blame.nvim": { "branch": "main", "commit": "5c536e2d4134d064aa3f41575280bc8a2a0e03d7" },
|
||||
"gitsigns.nvim": { "branch": "main", "commit": "8d82c240f190fc33723d48c308ccc1ed8baad69d" },
|
||||
"goto-preview": { "branch": "main", "commit": "d2d6923c9b9e0e43f0b9b566f261a8b1ae016540" },
|
||||
"image.nvim": { "branch": "master", "commit": "da2be65c153ba15a14a342b05591652a6df70d58" },
|
||||
"indent-blankline.nvim": { "branch": "master", "commit": "d28a3f70721c79e3c5f6693057ae929f3d9c0a03" },
|
||||
"jupytext.nvim": { "branch": "main", "commit": "c8baf3ad344c59b3abd461ecc17fc16ec44d0f7b" },
|
||||
"knap": { "branch": "main", "commit": "7db44d0bb760120142cc1e8f43e44976de59c2f6" },
|
||||
"lazy.nvim": { "branch": "main", "commit": "306a05526ada86a7b30af95c5cc81ffba93fef97" },
|
||||
"leap.nvim": { "branch": "main", "commit": "e7ca7b92f996bcbc34beee8b244ea5ef6692b478" },
|
||||
"leap.nvim": { "branch": "main", "commit": "278a2dddd347e138819fa84b0a891137ba33a788" },
|
||||
"logger.nvim": { "branch": "main", "commit": "63dd10c9b9a159fd6cfe08435d9606384ff103c5" },
|
||||
"lsp_signature.nvim": { "branch": "master", "commit": "a65b38f260cc3470a05b4afb84c8d868617d476d" },
|
||||
"lspkind-nvim": { "branch": "master", "commit": "c7274c48137396526b59d86232eabcdc7fed8a32" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "a905eeebc4e63fdc48b5135d3bf8aea5618fb21c" },
|
||||
"lualine.nvim": { "branch": "master", "commit": "f5d2a8570f8b736ddb9bb4be504355bcd6e15ec8" },
|
||||
"luasnip": { "branch": "master", "commit": "642b0c595e11608b4c18219e93b88d7637af27bc" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "0c2823e0418f3d9230ff8b201c976e84de1cb401" },
|
||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "0a3b42c3e503df87aef6d6513e13148381495c3a" },
|
||||
"mason-null-ls.nvim": { "branch": "main", "commit": "8e7806acaa87fae64f0bfde25bb4b87c18bd19b4" },
|
||||
"mason.nvim": { "branch": "main", "commit": "cb8445f8ce85d957416c106b780efd51c6298f89" },
|
||||
"mason.nvim": { "branch": "main", "commit": "b03fb0f20bc1d43daf558cda981a2be22e73ac42" },
|
||||
"modes.nvim": { "branch": "main", "commit": "2badf8771dbb2d1e1066fd6a5dddaad2fc836e72" },
|
||||
"molten-nvim": { "branch": "main", "commit": "a286aa914d9a154bc359131aab788b5a077a5a99" },
|
||||
"neogen": { "branch": "main", "commit": "23e7e9f883d01289ebd90e98025acc860ea26366" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "8cd333aa66e08492d891bdad272208a620cb93a3" },
|
||||
"none-ls.nvim": { "branch": "main", "commit": "7f9301e416533b5d74e2fb3b1ce5059eeaed748b" },
|
||||
"nui.nvim": { "branch": "main", "commit": "de740991c12411b663994b2860f1a4fd0937c130" },
|
||||
"nvim-cmp": { "branch": "main", "commit": "a1d504892f2bc56c2e79b65c6faded2fd21f3eca" },
|
||||
"nvim-colorizer.lua": { "branch": "master", "commit": "6ed09146ee637006367b5e225be6208a1ea02579" },
|
||||
"nvim-docs-view": { "branch": "master", "commit": "5676cc094d426edd39134b1eefca2cab441cca8a" },
|
||||
"nvim-hlslens": { "branch": "main", "commit": "be2d7b2be01860b5445a007ff2bc72b29896db6b" },
|
||||
"nvim-lilypond-suite": { "branch": "main", "commit": "e57ced9e0df33773566af795d70919d577c58ce2" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "bf5abe69c1874531f359a822d0cff4d73e26113f" },
|
||||
"nvim-lilypond-suite": { "branch": "main", "commit": "a1a313fd6028a196cc9aaa8c8501838fe8cc8e2a" },
|
||||
"nvim-lspconfig": { "branch": "master", "commit": "cb5bc0b2b35a6d513e3298d285db81453e791f4f" },
|
||||
"nvim-navic": { "branch": "master", "commit": "f5eba192f39b453675d115351808bd51276d9de5" },
|
||||
"nvim-scrollbar": { "branch": "main", "commit": "f8e87b96cd6362ef8579be456afee3b38fd7e2a8" },
|
||||
"nvim-surround": { "branch": "main", "commit": "61319d4bd1c5e336e197defa15bd104c51f0fb29" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "24cfcc94372e526fd9e1c2803ede9e0f1715e33f" },
|
||||
"nvim-tree.lua": { "branch": "master", "commit": "509962f21ab7289d8dcd28568af539be39a8c01e" },
|
||||
"nvim-treesitter": { "branch": "main", "commit": "4916d6592ede8c07973490d9322f187e07dfefac" },
|
||||
"nvim-treesitter-context": { "branch": "master", "commit": "b0c45cefe2c8f7b55fc46f34e563bc428ef99636" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "88c1453db4ba7dd24131086fe51fdf74e587d275" },
|
||||
"nvim-ts-autotag": { "branch": "main", "commit": "8e1c0a389f20bf7f5b0dd0e00306c1247bda2595" },
|
||||
"nvim-ufo": { "branch": "main", "commit": "ab3eb124062422d276fae49e0dd63b3ad1062cfc" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "8069e89df2d7259704286a5906a11c5b27d5b440" },
|
||||
"nvim-web-devicons": { "branch": "master", "commit": "c72328a5494b4502947a022fe69c0c47e53b6aa6" },
|
||||
"nvim-yarp": { "branch": "master", "commit": "bb5f5e038bfe119d3b777845a76b0b919b35ebc8" },
|
||||
"ogpt.nvim": { "branch": "main", "commit": "0fae02db8cb07391f86c3dbe807f62190a2d997f" },
|
||||
"otter.nvim": { "branch": "main", "commit": "a455e68a99d395889ab30a25ac3846a135e93c46" },
|
||||
@@ -70,23 +70,24 @@
|
||||
"popup-menu.nvim": { "branch": "master", "commit": "b618bd0c824a20417d845fa0022327228e6988a2" },
|
||||
"projections.nvim": { "branch": "pre_release", "commit": "889914169fa1f5c00fb8659653b5a8330fb223e6" },
|
||||
"promise-async": { "branch": "main", "commit": "119e8961014c9bfaf1487bf3c2a393d254f337e2" },
|
||||
"quarto-nvim": { "branch": "main", "commit": "17f1e5d664bc615478230dc0240666329efacf9b" },
|
||||
"quarto-nvim": { "branch": "main", "commit": "d923bb7cfc2bde41143e1c531c28190f0fade3a2" },
|
||||
"renamer.nvim": { "branch": "master", "commit": "1614d466df53899f11dd5395eaac3c09a275c384" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "3f3eea97b80839f629c951ca660ffd125bfa5b34" },
|
||||
"render-markdown.nvim": { "branch": "main", "commit": "54d4b5431e9634ee3d8d30784e017239b5b89d41" },
|
||||
"resolve.nvim": { "branch": "master", "commit": "1ed8bcc9ce7d43a0e8e05d0001c9cadb822d95a8" },
|
||||
"rustaceanvim": { "branch": "master", "commit": "88575b98bb9937fb9983ddec5e532b67e75ce677" },
|
||||
"spelunker.vim": { "branch": "master", "commit": "a0bc530f62798bbe053905555a4aa9ed713485eb" },
|
||||
"sqlite.lua": { "branch": "master", "commit": "50092d60feb242602d7578398c6eb53b4a8ffe7b" },
|
||||
"symbol-usage.nvim": { "branch": "main", "commit": "6a449e6b37be61a110606e9a67a7a308774f120f" },
|
||||
"tabular": { "branch": "master", "commit": "12437cd1b53488e24936ec4b091c9324cafee311" },
|
||||
"tccs.nvim": { "branch": "master", "commit": "23fabbb0a65517307e571f63fe7a3760670086fe" },
|
||||
"telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" },
|
||||
"telescope-words.nvim": { "branch": "main", "commit": "295d51fe1e525fee18c0c164ad0ae5fb23273aa0" },
|
||||
"telescope.nvim": { "branch": "master", "commit": "5255aa27c422de944791318024167ad5d40aad20" },
|
||||
"tidy.nvim": { "branch": "main", "commit": "8b6921150b16f38f48a2459a844a0c2b4c916914" },
|
||||
"tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "147af4e49f51dd48f41972de26552872b8ba7b25" },
|
||||
"tiny-inline-diagnostic.nvim": { "branch": "main", "commit": "57a0eb84b2008c76e77930639890d9874195b1e1" },
|
||||
"todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" },
|
||||
"treesj": { "branch": "main", "commit": "5fa4e7ba3517f8fe743bb4488f9e9c7ce83330fc" },
|
||||
"treewalker.nvim": { "branch": "main", "commit": "3680d19fc275f275352e9a3c05f3ec5079dfc0a7" },
|
||||
"treesj": { "branch": "main", "commit": "26bc2a8432ba3ea79ed6aa346fba780a3d372570" },
|
||||
"treewalker.nvim": { "branch": "main", "commit": "6fbceceb8966620da8970b727b6daa358b982805" },
|
||||
"trouble.nvim": { "branch": "main", "commit": "bd67efe408d4816e25e8491cc5ad4088e708a69a" },
|
||||
"undotree": { "branch": "master", "commit": "6fa6b57cda8459e1e4b2ca34df702f55242f4e4d" },
|
||||
"vim-abolish": { "branch": "master", "commit": "dcbfe065297d31823561ba787f51056c147aa682" },
|
||||
|
||||
@@ -17,6 +17,7 @@ Dom
|
||||
Dreams
|
||||
Embedding
|
||||
Entlebucher
|
||||
Eskortflug
|
||||
Extraction
|
||||
For
|
||||
Formatter
|
||||
@@ -26,7 +27,10 @@ Genervtheit
|
||||
Gestresstheit
|
||||
Gym
|
||||
Handwerksunternehmen
|
||||
Higher-Up
|
||||
Higher-Ups
|
||||
Homeserver
|
||||
Hot
|
||||
Immigrationsgeschichte
|
||||
Impro
|
||||
Improtheater
|
||||
@@ -38,6 +42,7 @@ Ira
|
||||
Jahreszeitenunterschied
|
||||
Jahreszeitenunterschiede
|
||||
Kardinälin
|
||||
Keycap
|
||||
Kreatindosis
|
||||
Königinnensubstanz
|
||||
Loop
|
||||
@@ -49,6 +54,7 @@ Meta
|
||||
Mods
|
||||
Mono
|
||||
Ne
|
||||
Nights
|
||||
Orgas
|
||||
Paper
|
||||
Platformer
|
||||
@@ -92,6 +98,7 @@ be
|
||||
bürgerlicher
|
||||
bürgerlichere
|
||||
bürgerlicheren
|
||||
cosplayt
|
||||
cyber
|
||||
egozentristisch
|
||||
en
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
AI
|
||||
APV
|
||||
Abdulkarim
|
||||
Accuracy
|
||||
Agentic
|
||||
Akallabêth
|
||||
@@ -13,6 +14,8 @@ Arrabbiata
|
||||
Asiahung
|
||||
Aule
|
||||
Aules
|
||||
Autoencoder
|
||||
Babybel
|
||||
Baez
|
||||
Barros
|
||||
Beater
|
||||
@@ -29,6 +32,7 @@ Brusch
|
||||
CAR
|
||||
CATS
|
||||
CDSS
|
||||
CORE
|
||||
CUDA
|
||||
Carré
|
||||
Casper
|
||||
@@ -36,6 +40,7 @@ Caspers
|
||||
Cato
|
||||
CdE
|
||||
CdEs
|
||||
Cewe
|
||||
Chrysalis
|
||||
Color
|
||||
Combi
|
||||
@@ -49,13 +54,15 @@ Darth
|
||||
DeepSeek
|
||||
Dekarldent
|
||||
Delivery
|
||||
Destiny 2
|
||||
Destiny
|
||||
Distrobox
|
||||
Doom
|
||||
Doyma
|
||||
Dressler
|
||||
EasyEffects
|
||||
Eckhoff
|
||||
Edain
|
||||
Edibles
|
||||
Elodie
|
||||
Ernsting's
|
||||
Euphoria
|
||||
@@ -108,12 +115,16 @@ JT
|
||||
Jacobin
|
||||
Jeanine
|
||||
Jojen
|
||||
Jungjohann
|
||||
Karamasov
|
||||
Keep
|
||||
Keycap
|
||||
Kingdoms
|
||||
Kluge
|
||||
KohakuHub
|
||||
Kratom
|
||||
KreativAkademie
|
||||
Kreyenbrück
|
||||
Kreyenhop
|
||||
Kubitschek
|
||||
Käte
|
||||
@@ -124,11 +135,13 @@ Lanz
|
||||
Later
|
||||
Lemmie
|
||||
Lemmies
|
||||
Letterboxd
|
||||
LightDM
|
||||
LightDM-GTK-Greeter
|
||||
LightDM-Mini-Greeter
|
||||
LilyPond
|
||||
Line Dance
|
||||
Loafer
|
||||
Lounge
|
||||
MEVIS
|
||||
MTG
|
||||
@@ -146,6 +159,7 @@ Meshtastic
|
||||
Metzener
|
||||
MiiMii
|
||||
Mint
|
||||
Mukluk
|
||||
MusikAka
|
||||
MusikAkademie
|
||||
NVIM
|
||||
@@ -156,6 +170,7 @@ Neovim
|
||||
NetworkManager
|
||||
NextCloud
|
||||
Nim
|
||||
Njinmah
|
||||
Nobody
|
||||
Noel
|
||||
North
|
||||
@@ -182,6 +197,7 @@ Pluribus
|
||||
PopOS
|
||||
Portainer
|
||||
Power
|
||||
Pratik
|
||||
Precision
|
||||
Precon
|
||||
Precons
|
||||
@@ -191,6 +207,7 @@ Rebowl
|
||||
Reed
|
||||
Reeves
|
||||
Reichenecker
|
||||
Rida
|
||||
Rocq
|
||||
Ruschenbaum
|
||||
SDS
|
||||
@@ -228,6 +245,7 @@ Tornow
|
||||
TrackPoint
|
||||
Traefik
|
||||
UDEV
|
||||
UMAP
|
||||
Umbar
|
||||
V1del
|
||||
VIM
|
||||
@@ -243,6 +261,7 @@ WinterAkademie
|
||||
Writhing
|
||||
X.Org
|
||||
Years
|
||||
Yorma
|
||||
Ziegeleiweg
|
||||
Zimin
|
||||
and
|
||||
|
||||
@@ -22,13 +22,24 @@ return {
|
||||
vim.schedule(function()
|
||||
local kernels = vim.fn.MoltenAvailableKernels()
|
||||
local try_kernel_name = function()
|
||||
local metadata = vim.json.decode(io.open(e.file, "r"):read("a"))["metadata"]
|
||||
return metadata.kernelspec.name
|
||||
local f = io.open(e.file, "r")
|
||||
if not f then
|
||||
return nil
|
||||
end
|
||||
local content = f:read("*a")
|
||||
f:close()
|
||||
local ok, decoded = pcall(vim.json.decode, content)
|
||||
if not ok then
|
||||
return nil
|
||||
end
|
||||
return decoded.metadata
|
||||
and decoded.metadata.kernelspec
|
||||
and decoded.metadata.kernelspec.name
|
||||
end
|
||||
local ok, kernel_name = pcall(try_kernel_name)
|
||||
if not ok or not vim.tbl_contains(kernels, kernel_name) then
|
||||
kernel_name = nil
|
||||
local venv = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX")
|
||||
local venv = os.getenv("VIRTUAL_ENV") or os.getenv("CONDA_PREFIX") or ".venv"
|
||||
if venv ~= nil then
|
||||
kernel_name = string.match(venv, "/.+/(.+)")
|
||||
end
|
||||
|
||||
@@ -29,6 +29,7 @@ return {
|
||||
|
||||
require("symbol-usage").setup({
|
||||
text_format = text_format,
|
||||
vt_position = "end_of_line",
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
# HELPER FUNCTIONS #
|
||||
####################
|
||||
|
||||
precmd_vcs_info() { vcs_info }
|
||||
precmd_vcs_info() { vcs_info; }
|
||||
|
||||
precmd_functions+=(precmd_vcs_info)
|
||||
|
||||
@@ -59,7 +59,7 @@ function +vi-git-st() {
|
||||
local ahead behind remote
|
||||
local -a gitstatus
|
||||
remote=${$(git rev-parse --verify ${hook_com[branch]}@{upstream} \
|
||||
--symbolic-full-name 2>/dev/null)/refs\/remotes\/}
|
||||
--symbolic-full-name 2>/dev/null)/refs\/remotes\//}
|
||||
if [[ -n ${remote} ]]; then
|
||||
# for git prior to 1.7
|
||||
# ahead=$(git rev-list origin/${hook_com[branch]}..HEAD | wc -l)
|
||||
@@ -85,12 +85,99 @@ function +vi-git-stash() {
|
||||
# CUSTOM WIDGETS #
|
||||
##################
|
||||
|
||||
mkcd() {
|
||||
mkdir -p -- "$1" &&
|
||||
cd -- "$1"
|
||||
}
|
||||
|
||||
uv() {
|
||||
if [[ "$1" == "init" ]]; then
|
||||
shift
|
||||
|
||||
if [[ "$1" == "--normal" ]]; then
|
||||
shift
|
||||
command uv init "$@"
|
||||
else
|
||||
command uv init --bare "$@" || return
|
||||
|
||||
if [[ $# -eq 0 ]]; then
|
||||
command uv venv || return
|
||||
_auto_venv
|
||||
fi
|
||||
fi
|
||||
elif [[ "$1" == "sync" ]]; then
|
||||
shift
|
||||
command uv sync "$@" || return
|
||||
_auto_venv
|
||||
else
|
||||
command uv "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
find_python_root() {
|
||||
local target="$1"
|
||||
local dir
|
||||
|
||||
if [[ -n "$target" && -e "$target" ]]; then
|
||||
dir="$(cd "$(dirname "$target")" && pwd)"
|
||||
else
|
||||
dir="$PWD"
|
||||
fi
|
||||
|
||||
while [[ "$dir" != "/" ]]; do
|
||||
if [[ -f "$dir/.python-version" ]] || [[ -f "$dir/pyproject.toml" ]]; then
|
||||
echo "$dir"
|
||||
return 0
|
||||
fi
|
||||
|
||||
dir="$(dirname "$dir")"
|
||||
done
|
||||
|
||||
return 1
|
||||
}
|
||||
|
||||
uvshim() {
|
||||
local cmd="$1"
|
||||
shift
|
||||
|
||||
local uv_root=""
|
||||
local first_arg="$1"
|
||||
|
||||
uv_root="$(find_python_root "$first_arg")"
|
||||
|
||||
if [[ -n "$uv_root" ]]; then
|
||||
uv run --project "$uv_root" "$cmd" "$@"
|
||||
else
|
||||
command -- "$cmd" "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
python() { uvshim python "$@"; }
|
||||
|
||||
python3() { uvshim python3 "$@"; }
|
||||
|
||||
pip() {
|
||||
local uv_root
|
||||
uv_root="$(find_python_root)"
|
||||
|
||||
if [[ -n "$uv_root" ]]; then
|
||||
if [[ "$1" == "install" ]]; then
|
||||
shift
|
||||
uv add "$@"
|
||||
else
|
||||
uv pip "$@"
|
||||
fi
|
||||
else
|
||||
command pip "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
_find_venv_upwards() {
|
||||
local dir="$PWD"
|
||||
|
||||
while [[ "$dir" != "/" ]]; do
|
||||
if [[ -f "$dir/pyvenv.cfg" ]]; then
|
||||
echo "$dir"
|
||||
if [[ -f "$dir/.venv/pyvenv.cfg" ]]; then
|
||||
echo "$dir/.venv"
|
||||
return
|
||||
fi
|
||||
dir=$(dirname "$dir")
|
||||
@@ -308,15 +395,12 @@ autoload -Uz compinit && compinit
|
||||
|
||||
# open shell with tmux always
|
||||
if [[ -n "$PS1" ]] && [[ -z "$TMUX" ]] && [[ -n "$SSH_CONNECTION" ]]; then
|
||||
tmux attack-session -t $USER || tmux new-session -s $USER
|
||||
tmux attach-session -t $USER || tmux new-session -s $USER
|
||||
fi
|
||||
|
||||
# thefuck
|
||||
eval $(thefuck --alias)
|
||||
|
||||
# python
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
# opam
|
||||
[[ ! -r "$HOME/.opam/opam-init/init.zsh" ]] || source "$HOME/.opam/opam-init/init.zsh" >/dev/null 2>/dev/null
|
||||
|
||||
|
||||
136
.local/bin/etc/gitignore
Executable file
136
.local/bin/etc/gitignore
Executable file
@@ -0,0 +1,136 @@
|
||||
#!/bin/sh
|
||||
|
||||
CONFIG_DIR="${XDG_CONFIG_HOME:-$HOME/.config}/gitignore"
|
||||
|
||||
usage() {
|
||||
cat <<EOF
|
||||
Usage:
|
||||
gitignore TEMPLATE...
|
||||
Create a new .gitignore from templates.
|
||||
|
||||
gitignore -f TEMPLATE...
|
||||
Overwrite existing .gitignore.
|
||||
|
||||
gitignore --add TEMPLATE...
|
||||
Append templates to existing .gitignore.
|
||||
|
||||
gitignore --list
|
||||
List available templates.
|
||||
|
||||
gitignore --show TEMPLATE
|
||||
Show a template.
|
||||
|
||||
Templates are searched in:
|
||||
$CONFIG_DIR
|
||||
EOF
|
||||
}
|
||||
|
||||
list_templates() {
|
||||
[ -d "$CONFIG_DIR" ] || exit 0
|
||||
|
||||
find "$CONFIG_DIR" -type f -exec basename {} \; | sort
|
||||
}
|
||||
|
||||
show_template() {
|
||||
file="$CONFIG_DIR/$1"
|
||||
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "Unknown template: $1" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
cat "$file"
|
||||
}
|
||||
|
||||
append_template() {
|
||||
template="$1"
|
||||
file="$CONFIG_DIR/$template"
|
||||
|
||||
if [ ! -f "$file" ]; then
|
||||
echo "Unknown template: $template" >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
{
|
||||
echo
|
||||
echo "# --- $template ---"
|
||||
cat "$file"
|
||||
} >> .gitignore
|
||||
}
|
||||
|
||||
create_gitignore() {
|
||||
mode="$1"
|
||||
shift
|
||||
|
||||
if [ -f .gitignore ] && [ "$mode" != "force" ]; then
|
||||
echo ".gitignore already exists." >&2
|
||||
echo "Use -f to overwrite or --add to append." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
: > .gitignore
|
||||
|
||||
for template in "$@"; do
|
||||
append_template "$template"
|
||||
done
|
||||
}
|
||||
|
||||
add_templates() {
|
||||
[ -f .gitignore ] || touch .gitignore
|
||||
|
||||
for template in "$@"; do
|
||||
append_template "$template"
|
||||
done
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
--help|-h)
|
||||
usage
|
||||
;;
|
||||
|
||||
--list)
|
||||
list_templates
|
||||
;;
|
||||
|
||||
--show)
|
||||
shift
|
||||
|
||||
[ $# -eq 1 ] || {
|
||||
echo "--show requires exactly one template" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
show_template "$1"
|
||||
;;
|
||||
|
||||
--add)
|
||||
shift
|
||||
|
||||
[ $# -gt 0 ] || {
|
||||
echo "No templates specified" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
add_templates "$@"
|
||||
;;
|
||||
|
||||
-f)
|
||||
shift
|
||||
|
||||
[ $# -gt 0 ] || {
|
||||
echo "No templates specified" >&2
|
||||
exit 1
|
||||
}
|
||||
|
||||
create_gitignore force "$@"
|
||||
;;
|
||||
|
||||
"")
|
||||
usage
|
||||
exit 1
|
||||
;;
|
||||
|
||||
*)
|
||||
create_gitignore normal "$@"
|
||||
;;
|
||||
esac
|
||||
@@ -14,7 +14,18 @@ vipercmd="carbon" #"silicon"
|
||||
|
||||
cd "$dir" || exit
|
||||
|
||||
textype() { \
|
||||
has_python_version() {
|
||||
dir="$PWD"
|
||||
while [ "$dir" != "/" ]; do
|
||||
if [ -f "$dir/.python-version" ] || [ -f "$dir/pyproject.toml" ]; then
|
||||
return 0
|
||||
fi
|
||||
dir=$(dirname "$dir")
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
textype() {
|
||||
command="pdflatex --shell-escape"
|
||||
(sed 5q "$file" | grep -i -q 'xelatex') && command="xelatex"
|
||||
$command --output-directory="$dir" "$base" &&
|
||||
@@ -33,7 +44,13 @@ case "$file" in
|
||||
*\.md) pandoc "$file" --pdf-engine=xelatex -o "$base".pdf ;;
|
||||
*\.mom) refer -PS -e "$file" | groff -mom -kept -T pdf >"$base".pdf ;;
|
||||
*\.ms) refer -PS -e "$file" | groff -me -ms -kept -T pdf >"$base".pdf ;;
|
||||
*\.py) python3 "$file" ;;
|
||||
*\.py)
|
||||
if has_python_version; then
|
||||
uv run python "$file"
|
||||
else
|
||||
python3 "$file"
|
||||
fi
|
||||
;;
|
||||
*\.rmd) echo "require(rmarkdown); render('$file')" | R -q --vanilla ;;
|
||||
*\.sent) setsid sent "$file" 2>/dev/null & ;;
|
||||
*config.h) sudo make install ;;
|
||||
@@ -43,9 +60,9 @@ case "$file" in
|
||||
*\.m) octave -qW "$file" ;;
|
||||
*\.nim) nim c -r -d:noColors "$file" ;;
|
||||
*\.r | *\.R) Rscript "$file" ;;
|
||||
*\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) \
|
||||
&& (cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) \
|
||||
|| (rustc "$file" && "./$(basename "${file%.rs}")") ;;
|
||||
*\.rs) (cd "$dir" && cargo locate-project >/dev/null 2>&1) &&
|
||||
(cd "$(dirname "$(cd "$dir" && cargo locate-project --message-format plain)")" && cargo run) ||
|
||||
(rustc "$file" && "./$(basename "${file%.rs}")") ;;
|
||||
*\.sh) dash "$file" ;;
|
||||
*\.smt2) z3 "$file" ;;
|
||||
*\.tex) textype "$file" ;;
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
device=${LOOPBACK_DEVICE:-Easy Effects Source}
|
||||
|
||||
name=$(wpctl status | sed -n '/Sources/,$p' | sed -n '/Filter/q;p' | grep "$device" | sed -e "s/*/\ /g")
|
||||
id=$( echo $name | cut -d '.' -f 1 | cut -c 5-)
|
||||
node=$(wpctl inspect $id | grep node.name | cut -d '=' -f 2)
|
||||
ident=$(wpctl status | sed -n '/Sources/,$p' | sed -n '/Filter/q;p' | grep "$device" | grep -oE '[0-9]+\.' | tr -d '.')
|
||||
node=$(wpctl inspect $ident | grep node.name | cut -d '=' -f 2)
|
||||
|
||||
[ -z "$2" ] && num="5" || num="$2"
|
||||
|
||||
@@ -61,7 +61,7 @@ case "$1" in
|
||||
loop) playerctl loop none
|
||||
sleep 1
|
||||
pkill -RTMIN+9 $STATUSBAR ;;
|
||||
tap) wpctl set-volume $id 1.0
|
||||
tap) wpctl set-volume $ident 1.0
|
||||
touch ~/.local/state/loopback.lock
|
||||
pw-loopback -C $node &
|
||||
notify-send -u low 'sxhkd' "Started loopback of $device" ;;
|
||||
|
||||
12
.profile
12
.profile
@@ -72,18 +72,6 @@ export VIPER_CARBON=""
|
||||
export VIPER_Z3="/bin/z3"
|
||||
export VIPER_BOOGIE="$HOME/.dotnet/tools/boogie"
|
||||
|
||||
# python
|
||||
export PYENV_ROOT="$HOME/.pyenv"
|
||||
|
||||
if [ -d "$PYENV_ROOT" ] && [ -x "PYENV_ROOT/bin/pyenv" ]; then
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
if command -v timeout >/DEV/NULL 2>&1; then
|
||||
timeout 2s -c sh -c 'eval "$($PYENV_ROOT/bin/pyenv init --path)"' 2>/dev/null
|
||||
else
|
||||
eval "$($PYENV_ROOT/bin/pyenv init --path 2>/dev/null)" || true
|
||||
fi
|
||||
fi
|
||||
|
||||
# less/man colors
|
||||
export LESS=-R
|
||||
export LESS_TERMCAP_mb="$(printf '%b' '[1;31m')"; a="${a%_}"
|
||||
|
||||
Reference in New Issue
Block a user