update: neovim background, .zshrc alias,tmux
This commit is contained in:
parent
6bf8fcbe9b
commit
b54773c06d
137
nvim/init.lua
137
nvim/init.lua
@ -4,38 +4,47 @@ vim.loader.enable()
|
|||||||
-- bootstrap lazy.nvim
|
-- bootstrap lazy.nvim
|
||||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
if not vim.loop.fs_stat(lazypath) then
|
if not vim.loop.fs_stat(lazypath) then
|
||||||
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
|
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
|
||||||
end
|
end
|
||||||
vim.opt.rtp:prepend(lazypath)
|
vim.opt.rtp:prepend(lazypath)
|
||||||
|
|
||||||
require("lazy").setup({
|
require("lazy").setup({
|
||||||
{ "nvim-lualine/lualine.nvim" },
|
{ "nvim-lualine/lualine.nvim" },
|
||||||
{ "nvim-telescope/telescope.nvim",lazy = false, dependencies = "nvim-lua/plenary.nvim" },
|
{ "nvim-telescope/telescope.nvim",lazy = false, dependencies = "nvim-lua/plenary.nvim" },
|
||||||
{ "neovim/nvim-lspconfig" },
|
{ "neovim/nvim-lspconfig" },
|
||||||
{ "williamboman/mason.nvim", config = true },
|
{ "williamboman/mason.nvim", config = true },
|
||||||
{ "mason-org/mason-lspconfig.nvim", opts = {}, dependencies = {"mason-org/mason.nvim"}},
|
{ "mason-org/mason-lspconfig.nvim", opts = {}, dependencies = {"mason-org/mason.nvim"}},
|
||||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
|
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate",
|
||||||
{ "hrsh7th/nvim-cmp", dependencies = {
|
config = function()
|
||||||
"hrsh7th/cmp-nvim-lsp",
|
require("nvim-treesitter.configs").setup({
|
||||||
"hrsh7th/cmp-buffer",
|
highlight = { enable = true },
|
||||||
"hrsh7th/cmp-path",
|
indent = { enable = true },
|
||||||
"L3MON4D3/LuaSnip",
|
})
|
||||||
"saadparwaiz1/cmp_luasnip",
|
end,},
|
||||||
}
|
{ "hrsh7th/nvim-cmp", dependencies = {
|
||||||
|
"hrsh7th/cmp-nvim-lsp",
|
||||||
|
"hrsh7th/cmp-buffer",
|
||||||
|
"hrsh7th/cmp-path",
|
||||||
|
"L3MON4D3/LuaSnip",
|
||||||
|
"saadparwaiz1/cmp_luasnip",
|
||||||
|
}
|
||||||
},
|
},
|
||||||
{ "akinsho/toggleterm.nvim", version = "*", config = true },
|
{ "akinsho/toggleterm.nvim", version = "*", config = true },
|
||||||
{ "sindrets/diffview.nvim", dependencies = "nvim-lua/plenary.nvim" },
|
{ "sindrets/diffview.nvim", dependencies = "nvim-lua/plenary.nvim" },
|
||||||
{ "airblade/vim-gitgutter" },
|
{ "airblade/vim-gitgutter" },
|
||||||
{ 'windwp/nvim-autopairs', event = "InsertEnter", config = true }
|
{ 'windwp/nvim-autopairs', event = "InsertEnter", config = true },
|
||||||
|
{ "dasupradyumna/midnight.nvim", lazy = true, priority = 1000, opts = {} }
|
||||||
})
|
})
|
||||||
|
|
||||||
-- neovim configuration
|
-- neovim configuration
|
||||||
|
|
||||||
vim.opt.termguicolors = true
|
vim.opt.termguicolors = true
|
||||||
vim.o.encoding = 'utf-8'
|
vim.o.encoding = 'utf-8'
|
||||||
vim.o.fileencoding = 'utf-8'
|
vim.o.fileencoding = 'utf-8'
|
||||||
vim.o.tabstop = 2
|
vim.o.tabstop = 4
|
||||||
vim.o.shiftwidth = 2
|
vim.o.softtabstop = 4
|
||||||
vim.o.expandtab = true
|
vim.o.shiftwidth = 4
|
||||||
|
vim.o.expandtab = true
|
||||||
vim.o.smartindent = true
|
vim.o.smartindent = true
|
||||||
vim.o.hidden = false
|
vim.o.hidden = false
|
||||||
vim.o.number = true
|
vim.o.number = true
|
||||||
@ -63,9 +72,9 @@ vim.keymap.set('n', '<leader>fg', require('telescope.builtin').live_grep)
|
|||||||
vim.keymap.set('n', '<leader>fb', require('telescope.builtin').buffers)
|
vim.keymap.set('n', '<leader>fb', require('telescope.builtin').buffers)
|
||||||
vim.keymap.set('n', '<leader>fh', require('telescope.builtin').help_tags)
|
vim.keymap.set('n', '<leader>fh', require('telescope.builtin').help_tags)
|
||||||
vim.keymap.set('n', '<leader>fr', require('telescope.builtin').lsp_references)
|
vim.keymap.set('n', '<leader>fr', require('telescope.builtin').lsp_references)
|
||||||
|
vim.keymap.set('n', '<leader>frr', require('telescope.builtin').diagnostics)
|
||||||
|
|
||||||
-- Error Keymaps
|
-- Error Keymaps
|
||||||
vim.keymap.set('n', '<leader>tr', require('telescope.builtin').diagnostics)
|
|
||||||
vim.keymap.set('n', '<leader>tn', vim.diagnostic.goto_next);
|
vim.keymap.set('n', '<leader>tn', vim.diagnostic.goto_next);
|
||||||
vim.keymap.set('n', '<leader>tf', vim.diagnostic.open_float);
|
vim.keymap.set('n', '<leader>tf', vim.diagnostic.open_float);
|
||||||
|
|
||||||
@ -92,64 +101,66 @@ local lspconfig = require("lspconfig")
|
|||||||
|
|
||||||
local cmp = require'cmp'
|
local cmp = require'cmp'
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
snippet = { expand = function(args) require('luasnip').lsp_expand(args.body) end },
|
snippet = { expand = function(args) require('luasnip').lsp_expand(args.body) end },
|
||||||
mapping = cmp.mapping.preset.insert({
|
mapping = cmp.mapping.preset.insert({
|
||||||
['<A-Space>'] = cmp.mapping.complete(),
|
['<A-Space>'] = cmp.mapping.complete(),
|
||||||
['<Tab>'] = cmp.mapping.confirm({ select = true }),
|
['<Tab>'] = cmp.mapping.confirm({ select = true }),
|
||||||
['<Down>'] = cmp.mapping.select_next_item(),
|
['<Down>'] = cmp.mapping.select_next_item(),
|
||||||
['<Up>'] = cmp.mapping.select_prev_item(),
|
['<Up>'] = cmp.mapping.select_prev_item(),
|
||||||
}),
|
}),
|
||||||
sources = cmp.config.sources({
|
sources = cmp.config.sources({
|
||||||
{ name = 'nvim_lsp' },
|
{ name = 'nvim_lsp' },
|
||||||
{ name = 'luasnip' },
|
{ name = 'luasnip' },
|
||||||
}, {
|
}, {
|
||||||
{ name = 'buffer' },
|
{ name = 'buffer' },
|
||||||
{ name = 'path' },
|
{ name = 'path' },
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
require("nvim-treesitter.configs").setup {
|
require("nvim-treesitter.configs").setup {
|
||||||
highlight = { enable = true, additional_vim_regex_highlighting = false },
|
highlight = { enable = true, additional_vim_regex_highlighting = false },
|
||||||
}
|
}
|
||||||
|
|
||||||
require("mason").setup()
|
require("mason").setup()
|
||||||
require("mason-lspconfig").setup({
|
require("mason-lspconfig").setup({
|
||||||
automatic_installation = true,
|
automatic_installation = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
require('lualine').setup {
|
require('lualine').setup {
|
||||||
options = {
|
options = {
|
||||||
theme = 'tomorrow_night',
|
theme = 'tomorrow_night',
|
||||||
section_separators = '',
|
section_separators = '',
|
||||||
component_separators = '',
|
component_separators = '',
|
||||||
icons_enabled = true,
|
icons_enabled = true,
|
||||||
globalstatus = true,
|
globalstatus = true,
|
||||||
always_divide_middle = false,
|
always_divide_middle = false,
|
||||||
always_show_tabline = false,
|
always_show_tabline = false,
|
||||||
draw_empty = false,
|
draw_empty = false,
|
||||||
color = nil,
|
color = nil,
|
||||||
},
|
|
||||||
sections = {
|
|
||||||
lualine_a = {'mode'},
|
|
||||||
lualine_b = {'branch','diff','diagnostics'},
|
|
||||||
lualine_c = {
|
|
||||||
{
|
|
||||||
'filename',
|
|
||||||
file_status = true,
|
|
||||||
newfile_status = true,
|
|
||||||
path = 2
|
|
||||||
}
|
|
||||||
},
|
},
|
||||||
lualine_x = {''},
|
sections = {
|
||||||
lualine_y = {
|
lualine_a = {'mode'},
|
||||||
{
|
lualine_b = {'branch','diff','diagnostics'},
|
||||||
'filetype', colored = false, icon_only = true
|
lualine_c = {
|
||||||
}
|
{
|
||||||
|
'filename',
|
||||||
|
file_status = true,
|
||||||
|
newfile_status = true,
|
||||||
|
path = 2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
lualine_x = {''},
|
||||||
|
lualine_y = {
|
||||||
|
{
|
||||||
|
'filetype', colored = false, icon_only = true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
lualine_z = {'location'}
|
||||||
},
|
},
|
||||||
lualine_z = {'location'}
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
vim.cmd("colorscheme midnight")
|
||||||
|
|||||||
@ -1,20 +1,20 @@
|
|||||||
{
|
{
|
||||||
"LuaSnip": { "branch": "master", "commit": "3732756842a2f7e0e76a7b0487e9692072857277" },
|
"LuaSnip": { "branch": "master", "commit": "ccf25a5452b8697a823de3e5ecda63ed3d723b79" },
|
||||||
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
"cmp-buffer": { "branch": "main", "commit": "b74fab3656eea9de20a9b8116afa3cfc4ec09657" },
|
||||||
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
|
"cmp-nvim-lsp": { "branch": "main", "commit": "bd5a7d6db125d4654b50eeae9f5217f24bb22fd3" },
|
||||||
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
"cmp-path": { "branch": "main", "commit": "c642487086dbd9a93160e1679a1327be111cbc25" },
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
"cmp_luasnip": { "branch": "master", "commit": "98d9cb5c2c38532bd9bdb481067b20fea8f32e90" },
|
||||||
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
"diffview.nvim": { "branch": "main", "commit": "4516612fe98ff56ae0415a259ff6361a89419b0a" },
|
||||||
"lazy.nvim": { "branch": "main", "commit": "85c7ff3711b730b4030d03144f6db6375044ae82" },
|
"lazy.nvim": { "branch": "main", "commit": "202d8e92b3a74ac88eb3a7f1e40fb59b4c2a6535" },
|
||||||
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
"lualine.nvim": { "branch": "master", "commit": "3946f0122255bc377d14a59b27b609fb3ab25768" },
|
||||||
"mason-lspconfig.nvim": { "branch": "main", "commit": "b1d9a914b02ba5660f1e272a03314b31d4576fe2" },
|
"mason-lspconfig.nvim": { "branch": "main", "commit": "b1d9a914b02ba5660f1e272a03314b31d4576fe2" },
|
||||||
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
|
"mason.nvim": { "branch": "main", "commit": "ad7146aa61dcaeb54fa900144d768f040090bff0" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "7a2c97cccd60abc559344042fefb1d5a85b3e33b" },
|
"nvim-autopairs": { "branch": "master", "commit": "7a2c97cccd60abc559344042fefb1d5a85b3e33b" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "106c4bcc053a5da783bf4a9d907b6f22485c2ea0" },
|
"nvim-cmp": { "branch": "main", "commit": "cf22c9e32512de3be1fd6b65fd25e3aabead4d8b" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "c8503e63c6afab3ed34b49865a4a4edbb1ebf4a8" },
|
"nvim-lspconfig": { "branch": "master", "commit": "a89bfcfd0e44f898341ac8a80ba83ccf6218bef3" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
"nvim-treesitter": { "branch": "master", "commit": "42fc28ba918343ebfd5565147a42a26580579482" },
|
||||||
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
"plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "3a12a853ebf21ec1cce9a92290e3013f8ae75f02" },
|
"telescope.nvim": { "branch": "master", "commit": "b4da76be54691e854d3e0e02c36b0245f945c2c7" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
"toggleterm.nvim": { "branch": "main", "commit": "50ea089fc548917cc3cc16b46a8211833b9e3c7c" },
|
||||||
"vim-gitgutter": { "branch": "main", "commit": "488c0555e47e2aabe273c635f7dd233e985311a6" }
|
"vim-gitgutter": { "branch": "main", "commit": "488c0555e47e2aabe273c635f7dd233e985311a6" }
|
||||||
}
|
}
|
||||||
|
|||||||
@ -24,11 +24,18 @@ bind-key -n M-j select-pane -D
|
|||||||
bind-key -n M-k select-pane -U
|
bind-key -n M-k select-pane -U
|
||||||
bind-key -n M-l select-pane -R
|
bind-key -n M-l select-pane -R
|
||||||
|
|
||||||
bind-key -n M-ù split-window -h
|
bind-key -n M-$ split-window -h
|
||||||
bind-key -n M-$ split-window -v
|
bind-key -n M-% split-window -v
|
||||||
|
|
||||||
bind-key -n M-c new-window
|
bind-key -n M-c new-window
|
||||||
|
|
||||||
|
|
||||||
|
bind -n M-1 select-window -t 1
|
||||||
|
bind -n M-2 select-window -t 2
|
||||||
|
bind -n M-3 select-window -t 3
|
||||||
|
bind -n M-4 select-window -t 4
|
||||||
|
bind -n M-5 select-window -t 5
|
||||||
|
|
||||||
# Prefix
|
# Prefix
|
||||||
unbind C-b
|
unbind C-b
|
||||||
set -g prefix C-a
|
set -g prefix C-a
|
||||||
@ -38,11 +45,11 @@ bind C-a send-prefix
|
|||||||
set -g status on
|
set -g status on
|
||||||
set -g status-interval 5
|
set -g status-interval 5
|
||||||
set -g status-position bottom
|
set -g status-position bottom
|
||||||
set -g status-left "#[fg=white]#[fg=black,bg=cyan] #(whoami) #[fg=blue,bg=default] "
|
set -g status-left " #(whoami) "
|
||||||
set -g status-right "#[fg=cyan,bg=default]#[fg=black,bg=cyan] #(hostname) %H:%M #[fg=cyan,bg=default]"
|
set -g status-right " #(hostname) %H:%M "
|
||||||
set -g status-style bg=default,fg=white
|
set -g status-style bg=default,fg=white
|
||||||
set -g window-status-format "#[fg=white]#[fg=black bg=cyan] #I #W #[fg=blue, bg=default]"
|
set -g window-status-format " #I #W "
|
||||||
set -g window-status-current-format "#[fg=white,bg=black]#[fg=colour232,bg=yellow] #I #W #[fg=cyan,bg=default]"
|
set -g window-status-current-format "-> #I #W "
|
||||||
|
|
||||||
# Pane and window style
|
# Pane and window style
|
||||||
set -g pane-border-status bottom
|
set -g pane-border-status bottom
|
||||||
|
|||||||
52
zsh/.zshrc
52
zsh/.zshrc
@ -1,52 +0,0 @@
|
|||||||
export ZSH="$HOME/.oh-my-zsh"
|
|
||||||
ZSH_THEME="sorin"
|
|
||||||
plugins=(git)
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
|
||||||
|
|
||||||
export EDITOR=nvim
|
|
||||||
|
|
||||||
alias vim="nvim"
|
|
||||||
alias vi="nvim"
|
|
||||||
alias ls="lsd"
|
|
||||||
|
|
||||||
# Zoxide
|
|
||||||
eval "$(zoxide init zsh)"
|
|
||||||
alias cd='z'
|
|
||||||
alias zi='zoxide query -i'
|
|
||||||
alias zq='zoxide query'
|
|
||||||
|
|
||||||
alias attach='tmux attach-session -t'
|
|
||||||
alias list='tmux list-sessions'
|
|
||||||
|
|
||||||
fzfedit() {
|
|
||||||
local file
|
|
||||||
file=$(find . -type f ! -path '*/.*' | fzf --preview 'bat --style=full --color=always {} 2>/dev/null') || return
|
|
||||||
[[ -n "$file" ]] && nvim "$file"
|
|
||||||
}
|
|
||||||
|
|
||||||
cfg() {
|
|
||||||
local file
|
|
||||||
file=$(find ~/.config -type f | fzf --preview 'bat --style=full --color=always {} 2>/dev/null') || return
|
|
||||||
[[ -n "$file" ]] && nvim "$file"
|
|
||||||
}
|
|
||||||
|
|
||||||
# Herd configurations
|
|
||||||
export HERD_PHP_83_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/83/"
|
|
||||||
export HERD_PHP_82_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/82/"
|
|
||||||
export PATH="/Users/nasr/Library/Application Support/Herd/bin/":$PATH
|
|
||||||
export HERD_PHP_85_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/85/"
|
|
||||||
export HERD_PHP_84_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/84/"
|
|
||||||
export NVM_DIR="/Users/nasr/Library/Application Support/Herd/config/nvm"
|
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
|
||||||
[[ -f "/Applications/Herd.app/Contents/Resources/config/shell/zshrc.zsh" ]] && builtin source "/Applications/Herd.app/Contents/Resources/config/shell/zshrc.zsh"
|
|
||||||
|
|
||||||
# Angular autocompletion
|
|
||||||
source <(ng completion script)
|
|
||||||
|
|
||||||
# Homebrew configuration
|
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
|
||||||
export PKG_CONFIG_PATH="/opt/homebrew/lib/pkgconfig:$PKG_CONFIG_PATH" # Add Homebrew pkg-config path
|
|
||||||
export PKG_CONFIG_PATH="/opt/homebrew/Cellar/raylib/5.5/lib/pkgconfig:$PKG_CONFIG_PATH"
|
|
||||||
|
|
||||||
# Syntax highlighting
|
|
||||||
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
52
zsh/zshrc
52
zsh/zshrc
@ -1,22 +1,54 @@
|
|||||||
export ZSH="$HOME/.oh-my-zsh"
|
export ZSH="$HOME/.oh-my-zsh"
|
||||||
|
ZSH_THEME="sorin"
|
||||||
ZSH_THEME="miepa"
|
|
||||||
|
|
||||||
plugins=(git)
|
plugins=(git)
|
||||||
|
|
||||||
source $ZSH/oh-my-zsh.sh
|
source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
|
export EDITOR=nvim
|
||||||
|
|
||||||
alias update="brew update && brew upgrade"
|
|
||||||
alias cleanup="brew cleanup"
|
|
||||||
alias vim="nvim"
|
alias vim="nvim"
|
||||||
alias runmain="clang++ main.cpp -o main&& ./main"
|
alias vi="nvim"
|
||||||
|
alias ls="lsd"
|
||||||
|
|
||||||
|
# Zoxide
|
||||||
|
eval "$(zoxide init zsh)"
|
||||||
|
alias cd='z'
|
||||||
|
alias zi='zoxide query -i'
|
||||||
|
alias zq='zoxide query'
|
||||||
|
|
||||||
|
alias attach='tmux attach-session -t'
|
||||||
|
alias new='tmux new-session -t'
|
||||||
|
alias list='tmux list-sessions'
|
||||||
|
alias nnd='~/nnd'
|
||||||
|
|
||||||
|
fzfedit() {
|
||||||
|
local file
|
||||||
|
file=$(find . -type f ! -path '*/.*' | fzf --preview 'bat --style=full --color=always {} 2>/dev/null') || return
|
||||||
|
[[ -n "$file" ]] && nvim "$file"
|
||||||
|
}
|
||||||
|
|
||||||
|
cfg() {
|
||||||
|
local file
|
||||||
|
file=$(find ~/.config -type f | fzf --preview 'bat --style=full --color=always {} 2>/dev/null') || return
|
||||||
|
[[ -n "$file" ]] && nvim "$file"
|
||||||
|
}
|
||||||
|
|
||||||
|
# Herd configurations
|
||||||
|
export HERD_PHP_83_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/83/"
|
||||||
|
export HERD_PHP_82_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/82/"
|
||||||
|
export PATH="/Users/nasr/Library/Application Support/Herd/bin/":$PATH
|
||||||
|
export HERD_PHP_85_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/85/"
|
||||||
|
export HERD_PHP_84_INI_SCAN_DIR="/Users/nasr/Library/Application Support/Herd/config/php/84/"
|
||||||
|
export NVM_DIR="/Users/nasr/Library/Application Support/Herd/config/nvm"
|
||||||
|
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
|
||||||
|
[[ -f "/Applications/Herd.app/Contents/Resources/config/shell/zshrc.zsh" ]] && builtin source "/Applications/Herd.app/Contents/Resources/config/shell/zshrc.zsh"
|
||||||
|
|
||||||
|
# Angular autocompletion
|
||||||
|
source <(ng completion script)
|
||||||
|
|
||||||
|
# Homebrew configuration
|
||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
export PKG_CONFIG_PATH="/opt/homebrew/lib/pkgconfig:$PKG_CONFIG_PATH" # Add Homebrew pkg-config path
|
export PKG_CONFIG_PATH="/opt/homebrew/lib/pkgconfig:$PKG_CONFIG_PATH" # Add Homebrew pkg-config path
|
||||||
export PKG_CONFIG_PATH="/opt/homebrew/Cellar/raylib/5.5/lib/pkgconfig:$PKG_CONFIG_PATH"
|
export PKG_CONFIG_PATH="/opt/homebrew/Cellar/raylib/5.5/lib/pkgconfig:$PKG_CONFIG_PATH"
|
||||||
|
|
||||||
export EDITOR=nvim
|
# source ~/emsdk/emsdk_env.sh
|
||||||
|
|
||||||
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user