my ZSH config
Find a file
Paul Stemmet 7724f3d086
merge: develop <--- feature/LazyVim
* HEAD
| \
| * fbc0ca3 <github@luxolus.com> docs: update README for nvim changes
| * 80ed55f <github@luxolus.com> zshrc: add podman,bazel opt plugs
| * ad874d1 <github@luxolus.com> zshrc: rm PSOXIZSH_EXPERIMENTAL_NEOVIM_LUA flag
| * 269c980 <github@luxolus.com> nvim: add psoxizsh.function key binds
| * 055ce78 <github@luxolus.com> nvim: use Global.* key binds in psoxizsh.plugins
| * 69a424a <github@luxolus.com> nvim: use Buffer.Lsp key binds in psoxizsh.lsp.key
| * f22a04f <github@luxolus.com> nvim: add psoxizsh.functions
| * aa49be0 <github@luxolus.com> nvim: refactor psoxizsh.key
| * 478c623 <github@luxolus.com> init.lua: rewrite nvim entrypoint to use psoxizsh.entrypoint
| * f4cf1b7 <github@luxolus.com> nvim: add psoxizsh.entrypoint
| * b17c563 <github@luxolus.com> nvim: add psoxizsh.entrypoint.profile
| * 585e13d <github@luxolus.com> nvim: add psoxizsh.startup.keybinds
| * 1637296 <github@luxolus.com> nvim: add psoxizsh.startup
| * bf29a51 <github@luxolus.com> nvim: add psoxizsh.plugins.ide
| * 9add4b0 <github@luxolus.com> nvim: add psoxizsh.lsp.keys
| * 0a15980 <github@luxolus.com> nvim: add psoxizsh.plugins.editor
| * 388b6da <github@luxolus.com> nvim: add psoxizsh.plugins.treesitter
| * ecb1bc2 <github@luxolus.com> nvim: add psoxizsh.plugins.ui
| * 1613c7b <github@luxolus.com> nvim: add psoxizsh.plugins.colorscheme
| * 3a56818 <github@luxolus.com> nvim: add psoxizsh.plugins.core
| * cf879d6 <github@luxolus.com> nvim: add psoxizsh.lsp.preset servers
| * b22285e <github@luxolus.com> nvim: add psoxizsh.lsp.core
| * f4a32dc <github@luxolus.com> nvim: add submodule lazy.nvim
| * fff545c <github@luxolus.com> nvim: rm psoxizsh.plugins.plug
| * 85081d7 <github@luxolus.com> nvim: rm old psoxizsh.lsp.{preset,servers,util} modules
| * ad7f34b <github@luxolus.com> nvim: rm orphaned modules psoxizsh.{plugins.bootstrap,diagnostic}
| * 5e80c28 <github@luxolus.com> repo: rm examples/ nvim/spellfile
| * 53ade04 <github@luxolus.com> repo: update submodules
| /
| develop

Signed-off-by: Bazaah <github@luxolus.com>
2024-08-31 19:02:05 +00:00
.vim Update to reflect latest changes and add some more documentation 2022-04-01 15:18:29 +01:00
.vscode rename .stemmet to .psoxizsh 2017-12-18 15:20:27 +00:00
etc Pstemmet/nvim tmux changes (#1) 2020-06-09 21:41:11 +01:00
examples/nvim repo: rm examples/ nvim/spellfile 2024-08-31 18:28:00 +00:00
fonts
nvim nvim: add psoxizsh.function key binds 2024-08-31 18:28:06 +00:00
oh-my-zsh@c8e600f397 Update git sub-modules and add zsh-vi-mode 2023-11-19 13:35:53 +00:00
tmux Update git sub-modules and add zsh-vi-mode 2023-11-19 13:35:53 +00:00
vim/autoload Upgrade plug 2019-10-18 13:23:01 +00:00
zsh-custom repo: update submodules 2024-08-31 18:28:00 +00:00
.gitignore Updated .gitignore 2018-08-09 19:22:57 +00:00
.gitmodules nvim: add submodule lazy.nvim 2024-08-31 18:28:02 +00:00
fresh-system Update to reflect latest changes and add some more documentation 2022-04-01 15:18:29 +01:00
init.lua init.lua: rewrite nvim entrypoint to use psoxizsh.entrypoint 2024-08-31 18:28:04 +00:00
README.md docs: update README for nvim changes 2024-08-31 18:37:08 +00:00
starship.toml consolodate with develop 2021-11-04 15:12:41 +00:00
vimrc vimrc: coc_disable_startup_warning = 1 2022-08-18 14:51:05 +00:00
zshrc zshrc: add podman,bazel opt plugs 2024-08-31 18:28:07 +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.

This is optimized by default for dark terminals, and contains configurations for use with

  • zsh >= v5.8
  • neovim >= v0.9
  • tmux >= 3.2

All of these have standard setting but can be customized by using optional include files. Please read the following configs

  • vimrc
  • init.lua
  • zshrc
  • tmux/tmux.conf

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.


(
    git pull --recurse-submodules=yes
    git submodule foreach git fetch --all --prune
    git submodule update --remote --rebase
    git pull --recurse-submodules=yes
)

src

Install

User


git clone --recurse-submodules --recursive https://git.st8l.com/dolysis/psoxizsh.git ~/.psoxizsh

# This should work on Linux.  It is not tested on MacOS or Windows
~/.psoxizsh/fresh-system

Root - System Wide


# Make sure you are root
git clone --recurse-submodules --recursive https://git.st8l.com/dolysis/psoxizsh.git /etc/psoxizsh

# This should work on Linux.  It is not tested on MacOS or Windows
# for each user that wants to use this as the user run this command
/etc/psoxizsh/fresh-system

Configure NeoVim

Make sure you have neovim (tested on v0.9.x, v0.10.x) installed and after starting zsh check that the following variable are set by typing

You will need to install neovim, nodejs and npm to get the full use of vim

Just start neovim (nvim) and wait for it to finish. After that quit and it should be ready to use.

You can also use: nvim --headless '+Lazy! sync' +TSUpdate +qa to sync all plugins without opening neovim.

See the default entrypoint (init.lua) for more details on how to configure your local setup further.

nvim ~/.config/nvim/init.lua

Enjoy