Compare commits

..

4 Commits

Author SHA1 Message Date
wash 1ba886e9c9 meta: add a helpful reminder 2026-02-21 18:41:58 +00:00
wash 3c2e72a8be zsh: source .zshenv for system-specific configuration 2026-02-21 18:41:48 +00:00
wash 44cacf67be zsh: add ls alias with colours enabled 2026-02-21 18:41:33 +00:00
wash fb123ea928 nvim: treesitter.configs has stopped working 2026-02-21 18:40:56 +00:00
4 changed files with 18 additions and 8 deletions
+5
View File
@@ -0,0 +1,5 @@
This repository has sub-modules! Be sure to get them with
git submodule update --init --recursive
otherwise things will break!
+4 -8
View File
@@ -2,13 +2,9 @@ return {
'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate',
config = function()
local configs = require('nvim-treesitter.configs')
configs.setup {
ensure_installed = { 'c', 'cpp', 'lua', 'vimdoc', 'luadoc', 'vim', 'markdown' },
sync_install = false,
highlight = { enable = true },
indent = { enable = false }
}
vim.api.nvim_create_autocmd('FileType', {
pattern = { 'c' },
callback = function() vim.treesitter.start() end,
})
end
}
+1
View File
@@ -2,6 +2,7 @@ alias ll="ls -alG"
alias vim=nvim
alias nj=ninja
alias ls="ls --color=auto"
alias ...="cd ../.."
alias ....="cd ../../.."
+8
View File
@@ -1,4 +1,5 @@
zshrc=~/.zshrc
zshenv=~/.zshenv
if [ -z $zshrc ]; then
echo "Err: Cannot find dotfile directory."
exit -1
@@ -48,3 +49,10 @@ source $zsh_dir/commands.zsh
# KEYBIND initialisation
source $zsh_dir/keybind.zsh
# SYSTEM-SPECIFIC initialisation
if [ -z $zshenv ]; then
source $zshenv
fi