Merge branch 'main' of git.ocert.at:ocertat/dotfiles

This commit is contained in:
Mark Eaton committed 2026-11-11 14:33:56 -05:00
commit e119939c40
2 files changed
+18 -2

No files matched your search

+4 -2
View File
@@ -5,7 +5,8 @@
- use uv for dependency management and python version management
- prefer using Python to other languages when it is appropriate
- use Flask or Quart as a framework
- use pytest for testing. Encourage and support a test-driven development (TDD) approach.
- use pytest for testing. Encourage and support a test-driven development (TDD) approach. Always use the /pytest skill when writing Python
- use the `python-dotenv` library for environment variables
## JavaScript
- use prettier for code formatting
@@ -13,6 +14,7 @@
- use Vue.js as a framework
- use Bootstrap or Quasar for CSS/UI. Load via CDN script tags, not npm.
- no JS testing framework for now. Do not add Jest, Vitest, or similar unless asked.
- do not use `var` constructions in most circumstances. Prefer `let` and `const`.
## HTML/CSS
- use semantic HTML elements (`<nav>`, `<main>`, `<header>`, `<button>`, `<form>`) instead of generic `<div>` and `<span>`.
@@ -30,7 +32,7 @@
## Git
- commit frequently. Smaller commits are better than big ones.
- use imperative mood for commit messages. Keep the first line under 72 characters.
- do not commit secrets, .env files, or credentials.
- do not commit secrets, .env files, credentials, or anything that may seem sensitive
## Other guidance
- avoid running unsafe operations, such as curl piped to bash, or other such dangerous procedures. If such an approach seems necessary, please consult with me first and explain the risks.
+14
View File
@@ -0,0 +1,14 @@
if status is-interactive
# Commands to run in interactive sessions can go here
end
alias log='git log --graph --decorate --all'
alias ll='ls -la'
alias up='sudo apt-get -y update && sudo apt-get -y dist-upgrade && sudo apt-get -y autoremove'
alias python="python3"
alias vim="nvim"
# create a prefix that runs a line as bash
function b
bash -c "$argv"
end