- checkout repository
- install dependencies, known so far:
- pipenv
- fzf
- python 3.8.2
- DEPRECATED, USE PIP-TOOLS: install virtual environment for python using pipenv, the repo folder execute
PIPENV_VENV_IN_PROJECT=1 pipenv install note: this should create a folder
.venvin the repo folder (not somewhere else) - install the one-shell-service in systemd
it will be installed as a user service only for the current user
(it will run as that user, and only manage the shell history for that user, no root rights)
systemd/install
- check if the service is running
systemctl status one-shell-history@$USER.service
- either
source zsh/setup.zshin your zshrc or source it manually to test note that this only adds osh, it doesnt not disable any other history mechanism the normal zsh history (typically~/.zsh_history) is still running in parallel
- use your shell like normal, produce history
ctrl-estarts the history search, very similar to fzf'sctrl-rosh-sync-zshmerges in all history from~/.zsh_historyin your osh history, idempotent, can also be used if you had some shell sessions without osh activated and want to add that history tooosh-sync-gitwill attempt to sync globally with your git repository, if you do it the first time an it's not setup yet, it will give you instructions
- system dependencies are not complete
- some code might still have hard-code folders or similar that doesnt work for other users