A common and reliable pattern in service unit files is thus:
NoNewPrivileges=yes
PrivateTmp=yes
PrivateDevices=yes
DevicePolicy=closed
ProtectSystem=strict
| # Additional Fish completions for Jujutsu | |
| # https://gist.github.com/bnjmnt4n/9f47082b8b6e6ed2b2a805a1516090c8 | |
| # TODO: passthru other args? E.g.. --at-operation, --repository | |
| function __jj | |
| command jj --ignore-working-copy --color=never --quiet $argv 2> /dev/null | |
| end | |
| # Aliases | |
| # Based on https://github.com/fish-shell/fish-shell/blob/cd71359c42f633d9d71a63591ae16d150407a2b2/share/completions/git.fish#L625. |
| #!/bin/bash | |
| # Script for installing tmux on systems where you don't have root access. | |
| # tmux will be installed in $HOME/local/bin. | |
| # It's assumed that wget and a C/C++ compiler are installed. | |
| # exit on error | |
| set -e | |
| TMUX_VERSION=1.8 |