psoxizsh/README.md

103 lines
2.3 KiB
Markdown
Raw Normal View History

2018-03-14 17:09:38 +00:00
# `pSoxIzsh`
## About this
Over the years I have collect various bits from various locations. I often share
what I have done with work colleagues and finally made this repository so people
can pull the latest.
2018-03-14 17:09:38 +00:00
This is optimized by default for dark terminals, and contains configurations for
use with
2022-04-01 13:49:16 +00:00
- zsh >= v5.8
- neovim >= v0.6
- tmux >= 3.2
2022-04-01 13:49:16 +00:00
All of these have standard setting but can be customized by using optional
include files. Please read the following configs
2022-04-01 13:49:16 +00:00
- `vimrc`
- `zshrc`
- `tmux/tmux.conf`
2022-04-01 13:49:16 +00:00
and look at the include files to check for overrides.
## Looks
For the best appearance I have tested the latest versions of
- Konsole
- Microsoft Terminal
- WezTerm
- Kitty (the Linux version, not the on based of putty)
- Alacritty (Windows and Linux)
I have previously used this on iTerm2 on MacOS but not recently.
I also use the _Iosevka Term Curly_ font on both Linux and Windows with
ligatures enabled where possible.
## Updates
If you already have an installation cd to the `~/.psoxizsh` or `/etc/psoxizsh`
as root directory and make sure you have not make any changes. If you have stash
them and then run the following commands.
2022-04-01 13:49:16 +00:00
2018-03-14 17:09:38 +00:00
```bash
2018-03-14 17:09:38 +00:00
(
git pull --recurse-submodules=yes
git submodule foreach git fetch --all --prune
git submodule foreach git checkout master
git submodule foreach git pull
2018-03-21 12:19:46 +00:00
git pull --recurse-submodules=yes
2018-03-14 17:09:38 +00:00
)
src
```
2017-12-18 15:20:27 +00:00
## Install
2020-05-05 10:33:47 +00:00
### User
2017-12-18 15:20:27 +00:00
```bash
2020-05-05 10:33:47 +00:00
git clone --recurse-submodules --recursive https://github.com/psox/psoxizsh.git ~/.psoxizsh
2020-05-05 10:33:47 +00:00
# This should work on Linux. It is not tested on MacOS or Windows
2017-12-18 15:27:22 +00:00
~/.psoxizsh/fresh-system
2020-05-05 10:33:47 +00:00
```
### Root - System Wide
```bash
# Make sure you are root
git clone --recurse-submodules --recursive https://github.com/psox/psoxizsh.git /etc/psoxizsh
2020-05-05 10:33:47 +00:00
# This should work on Linux. It is not tested on MacOS or Windows
2022-04-01 13:49:16 +00:00
# for each user that wants to use this as the user run this command
2020-05-05 10:33:47 +00:00
/etc/psoxizsh/fresh-system
2017-12-18 15:20:27 +00:00
```
2017-12-18 22:12:41 +00:00
2022-04-01 13:49:16 +00:00
## Configure NeoVim
Make sure you have neovim (tested on v0.6.1) installed and after starting zsh
check that the following variable are set by typing
2017-12-18 22:12:41 +00:00
2022-04-01 13:49:16 +00:00
You will need to install `neovim`, `nodejs` and `npm` to get the full use of vim
2018-03-14 17:09:38 +00:00
Just start neovim (`nvim`) and wait for it to finish. After that quit and it
should be ready to use.
2018-03-14 17:09:38 +00:00
```bash
echo $VIMINIT
echo $MYVIMRC
echo $VIMHOME
```
2018-03-21 12:19:46 +00:00
Enjoy