shtick config
Authored by
mfwolffe <wolffemf@dukes.jmu.edu>
- SHA
74f351fdac0e76b269828b36d9aa95356b933b85- Parents
-
21afd90 - Tree
1369a09
74f351f
74f351fdac0e76b269828b36d9aa95356b933b8521afd90
1369a09| Status | File | + | - |
|---|---|---|---|
| A |
shtick/config.toml
|
71 | 0 |
| A |
shtick/settings.toml
|
26 | 0 |
shtick/config.tomladded@@ -0,0 +1,71 @@ | ||
| 1 | +# used by my alias manager, shtick | |
| 2 | + | |
| 3 | +[persistent.aliases] | |
| 4 | +c = "clear" | |
| 5 | +gad = "git add" | |
| 6 | +pls = "sudo !!" | |
| 7 | +bk = "- || cd -" | |
| 8 | +refresh = "source ${HOME}/.zshrc" | |
| 9 | +goclass = "cd ${HOME}/Documents/Class/" | |
| 10 | +goproj = "cd ${HOME}/Documents/Project/" | |
| 11 | +goorg = "cd ${HOME}/Documents/GithubOrgs/" | |
| 12 | +goterse = "cd ${HOME}/Documents/GithubOrgs/tenselyflow" | |
| 13 | +zconfig = "micro ${HOME}/.zshrc || ${EDITOR} ${HOME}/.zshrc" | |
| 14 | +godot = "cd ${HOME}/Documents/GithubOrgs/tenselyflow/ndotfiles" | |
| 15 | +gas = "git status" | |
| 16 | +gall = "git add --all" | |
| 17 | +gcomm = "git commit --message" | |
| 18 | +gpull = "git pull origin trunk" | |
| 19 | +gputt = "git push origin trunk" | |
| 20 | +gcamm = "git commit --all --message" | |
| 21 | +glogg = "git log --online --graph --decorate --all" | |
| 22 | +wttr = "curl wttr.in" | |
| 23 | +tom = "echo jerry" | |
| 24 | +ss = "eval \"$(shtick source)\"" | |
| 25 | +trunk = "git checkout trunk" | |
| 26 | +checkout = "git checkout" | |
| 27 | +bcheck = "git checkout -b" | |
| 28 | + | |
| 29 | +[persistent.env_vars] | |
| 30 | +PAGER = "less" | |
| 31 | +EDITOR = "micro" | |
| 32 | +BROWSER = "firefox" | |
| 33 | +HISTSIZE = "10000" | |
| 34 | + | |
| 35 | +[persistent.functions] | |
| 36 | +mkcd = "mkdir -p \"$1\" && cd \"$1\"" | |
| 37 | +backup = "cp \"$1\" \"$1.backup.$(date +%Y%m%d_%H%M%S)\"" | |
| 38 | + | |
| 39 | +[dev.aliases] | |
| 40 | +mk = "make" | |
| 41 | +mka = "make all" | |
| 42 | +mkr = "make run" | |
| 43 | +mkt = "make test" | |
| 44 | +mkc = "make clean" | |
| 45 | +mki = "make install" | |
| 46 | +gfort = "gfortran" | |
| 47 | +dev = "npm run dev" | |
| 48 | +ni = "npm --install" | |
| 49 | +setpy = "asdf set python" | |
| 50 | +mange = "python manage.py" | |
| 51 | +setnode = "asdf set nodejs" | |
| 52 | +serve = "python manage.py runserver" | |
| 53 | +pyserve = "python3 -m http.server 8000" | |
| 54 | +brewup = "brew update && brew upgrade && brew cleanup" | |
| 55 | + | |
| 56 | +[dev.env_vars] | |
| 57 | +JOM = "terry" | |
| 58 | + | |
| 59 | +[dev.functions] | |
| 60 | +newproject = "mkdir -p \"$HOME/projects/$1\" && cd \"$HOME/projects/$1\" && git init" | |
| 61 | + | |
| 62 | +[personal.aliases] | |
| 63 | +myip = "curl ifconfig.me" | |
| 64 | +go = "cd /" | |
| 65 | + | |
| 66 | +[personal.env_vars] | |
| 67 | +TOM = "JERRY" | |
| 68 | + | |
| 69 | +[personal.functions] | |
| 70 | +note = "echo \"$(date): $*\" >> $HOME/notes.txt" | |
| 71 | + | |
shtick/settings.tomladded@@ -0,0 +1,26 @@ | ||
| 1 | +[generation] | |
| 2 | +# Shells to generate files for. Empty list = auto-detect based on current shell | |
| 3 | +shells = ["bash", "dash", "zsh", "nushell", "powershell", "yash", "fish", "oil", "elvish"] | |
| 4 | +# Enable parallel generation (not implemented yet) | |
| 5 | +parallel = false | |
| 6 | +# Consolidate all items into single files per shell | |
| 7 | +consolidate_files = true | |
| 8 | + | |
| 9 | +[behavior] | |
| 10 | +# Prompt to source changes after modifications | |
| 11 | +auto_source_prompt = false | |
| 12 | +# Check for conflicts when adding items | |
| 13 | +check_conflicts = true | |
| 14 | +# Create backups before saving config | |
| 15 | +backup_on_save = false | |
| 16 | +# Enable interactive prompts | |
| 17 | +interactive_mode = true | |
| 18 | + | |
| 19 | +# these were not performant; reverted | |
| 20 | +[performance] | |
| 21 | +# Cache time-to-live in seconds | |
| 22 | +cache_ttl = 300 | |
| 23 | +# Enable lazy loading (not implemented yet) | |
| 24 | +lazy_load = false | |
| 25 | +# Enable batch operations for better performance | |
| 26 | +batch_operations = false | |