sample config
- SHA
0f79807e974bd11bda38bdd7a76f26cdd377ac94- Parents
-
95d0a1d - Tree
2f52404
0f79807
0f79807e974bd11bda38bdd7a76f26cdd377ac9495d0a1d
2f52404| Status | File | + | - |
|---|---|---|---|
| A |
config.sample.toml
|
73 | 0 |
config.sample.tomladded@@ -0,0 +1,73 @@ | ||
| 1 | +# Shtick Test Configuration | |
| 2 | + | |
| 3 | +# Persistent items - always active in every shell session | |
| 4 | +[persistent.aliases] | |
| 5 | +c = "clear" | |
| 6 | +gad="git add" | |
| 7 | +pls="sudo !!" | |
| 8 | +bk = "- || cd -" | |
| 9 | +refresh = "source ${HOME}/.zshrc" | |
| 10 | +goclass = "cd ${HOME}/Documents/Class/" | |
| 11 | +goproj = "cd ${HOME}/Documents/Project/" | |
| 12 | +goorg = "cd ${HOME}/Documents/GithubOrgs/" | |
| 13 | +goterse = "cd ${HOME}/Documents/GithubOrgs/tenselyflow" | |
| 14 | +zconfig = "micro ${HOME}/.zshrc || ${EDITOR} ${HOME}/.zshrc" | |
| 15 | +godot = "cd ${HOME}/Documents/GithubOrgs/tenselyflow/ndotfiles" | |
| 16 | + | |
| 17 | +gas="git status" | |
| 18 | +gall="git add --all" | |
| 19 | +gcomm="git commit --message" | |
| 20 | +gpull="git pull origin trunk" | |
| 21 | +gputt="git push origin trunk" | |
| 22 | +gcamm="git commit --all --message" | |
| 23 | +glogg="git log --online --graph --decorate --all" | |
| 24 | + | |
| 25 | +wttr = "curl wttr.in" | |
| 26 | + | |
| 27 | + | |
| 28 | +[persistent.env_vars] | |
| 29 | +PAGER = "less" | |
| 30 | +EDITOR = "micro" | |
| 31 | +BROWSER = "firefox" | |
| 32 | +HISTSIZE = "10000" | |
| 33 | + | |
| 34 | +[persistent.functions] | |
| 35 | +mkcd = "mkdir -p \"$1\" && cd \"$1\"" | |
| 36 | +backup = "cp \"$1\" \"$1.backup.$(date +%Y%m%d_%H%M%S)\"" | |
| 37 | + | |
| 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 | + | |
| 47 | +gfort = "gfortran" | |
| 48 | +dev = "npm run dev" | |
| 49 | +ni = "npm --install" | |
| 50 | +setpy = "asdf set python" | |
| 51 | +mange = "python manage.py" | |
| 52 | +setnode = "asdf set nodejs" | |
| 53 | +serve = "python manage.py runserver" | |
| 54 | +pyserve = "python3 -m http.server 8000" | |
| 55 | +brewup = "brew update && brew upgrade && brew cleanup" | |
| 56 | + | |
| 57 | + | |
| 58 | +[dev.env_vars] | |
| 59 | +JOM = "terry" | |
| 60 | + | |
| 61 | +[dev.functions] | |
| 62 | +newproject = "mkdir -p \"$HOME/projects/$1\" && cd \"$HOME/projects/$1\" && git init" | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | +[personal.aliases] | |
| 67 | +myip = "curl ifconfig.me" | |
| 68 | + | |
| 69 | +[personal.env_vars] | |
| 70 | +TOM = "JERRY" | |
| 71 | + | |
| 72 | +[personal.functions] | |
| 73 | +note = "echo \"$(date): $*\" >> $HOME/notes.txt" | |