aboutsummaryrefslogtreecommitdiff
path: root/home/shell (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-02-21feat(home/fish): new function to run home-managerFranck Cuny1-0/+4
2023-02-21feat(home/fish): function to create go projectsFranck Cuny1-0/+27
A function to create a go project: it creates the git repository, setup the project using a flake template, create an initial commit, push it and ensure we can run drone on it.
2023-02-21feat(home/fish): move fish's code to external filesFranck Cuny5-20/+43
It's easier to edit / debug / test the code that way. This also add a new function (`find-ssh-agent') to find or start a new ssh agent when a shell is started.
2022-11-04ref(home/packages): don't install opensslFranck Cuny1-4/+0
It's usually needed for developing some rust projects, but this should be setup by the flake of that project.
2022-10-29fix(home): remove various shell functions related to gerritFranck Cuny3-12/+0
I'm not using gerrit anymore.
2022-10-04ref(tools/ipconverter): rewrite the tool in pythonFranck Cuny1-2/+0
No need to do this with Go, a python script is fine. We also don't need to set shell aliases for this: when we install the tool, we can create symbolic links to `ip2int` and `int2ip`.
2022-09-24fix(home/shell): set value for PKG_CONFIG_PATHFranck Cuny1-0/+4
I don't know why I need to do this, but otherwise I can't build rust packages with `cargo build' if it's not set ...
2022-07-02fix(new-lines): add or remove new lines where neededFranck Cuny1-1/+0
The pre-commit hook for new lines reported and correct a number of issues, so let's commit them now and after that we ca enable the hook for the repository. Change-Id: I5bb882d3c2cca870ef94301303f029acfb308740 Reviewed-on: https://cl.fcuny.net/c/world/+/592 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-23feat(home/shell): add alias to search nix packagesFranck Cuny1-0/+1
Change-Id: I394d4cd05ff763aed28e91d86e2905f6ad414336 Reviewed-on: https://cl.fcuny.net/c/world/+/470 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-20feat(home/shell): add aliases for ip2int and int2ipFranck Cuny1-0/+2
Change-Id: I309e378a9cd1871fc84b395a6e077757106d2628 Reviewed-on: https://cl.fcuny.net/c/world/+/463 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>
2022-06-20feat(home/shell): manage fish's functions directoryFranck Cuny3-0/+14
Change-Id: I03a35a211c7563e65770b39b140099291efafab9 Reviewed-on: https://cl.fcuny.net/c/world/+/458 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-06-20ref(home/shell): move all shell aliases to a shared configurationFranck Cuny4-6/+20
By moving the aliases to a shared module, they can be used between zsh and fish. Change-Id: Ifcfe0af3b90825fe3a67bc1796d4cf65a58d3ff2 Reviewed-on: https://cl.fcuny.net/c/world/+/456 Reviewed-by: Franck Cuny <franck@fcuny.net> Tested-by: CI
2022-06-20ref(home/shell): make it easier to share common things between shellsFranck Cuny9-0/+188
I'm considering trying again fish, and there are a number of things that should be common between zsh and fish (aliases, environment variables, ...). Instead of duplicating these settings multiple time, I'm consolidating the shell configurations under `home/shell`, and I can set the shell I want to use with `my.home.shell.name`. The first step is to move the modules for fish and zsh under `home/shell`, add an interface to pick which one I want to use, and modify the `host/home.nix` configuration to keep using zsh with the new interface. Change-Id: Idb66b1a6fcc11a6eeaf5fd2d32dd3698d2d85bdf Reviewed-on: https://cl.fcuny.net/c/world/+/455 Tested-by: CI Reviewed-by: Franck Cuny <franck@fcuny.net>