This is my repository to handle dotfiles. I use chezmoi from now on, and it's far from finished, but it's something. Not sure if something like that can even be finished. Anyways, here is its structure -- although it's not up to date, that's one more thing to do in the bucket,for now it's a copy of my old repo's readme.
./alias
is meant as a file in ~/.alias
./functions
is meant as a file in ~/.functions
Both should be sourced in .zshrc (or the equivalent for other shells) as such :
source ~/.alias
source ~/.functions
In addition, ./bin
in this repository is meant as the folder ~/.bin
, and should be added to the path with PATH=$PATH:~/.bin
in ~/.profile
.
- SSH
- DETACH
- LaTex
- General
- kill alarm (using shalarm, https://github.com/jahendrie/shalarm, can be handy if started with computer)
- kil - kill a process by name (twice pkill because programs like Discord behave weirdly)
- detach - detach a process from the shell (disown) and remove the text output
- gitUser - set the right user for your git repo authomatically (needs to be adapted to the right person)
- ex - extract, from the Manjaro bash_profile
- show your personal functions and stuff
- cleanup - update, remove some stuff, show latest errors - should not be used without understanding
- gitUser - the backend behind gitUser from functions
- light - lightens the load on your computer if you're on battery budget
- heavy - allows to restart stuff that has been shut down by light -- doesn't take the stuff from light, needs to be adjusted manually.