feat: added env vars to zsh config

This commit is contained in:
Kulvir Singh
2025-03-09 00:59:02 +05:30
parent f85a079b90
commit 1e4dcc5546
4 changed files with 8 additions and 36 deletions

View File

@@ -1,29 +0,0 @@
local wezterm = require("wezterm")
local config = {
enable_tab_bar = false,
window_decorations = "RESIZE",
window_close_confirmation = "NeverPrompt",
font = wezterm.font("MesloLGS Nerd Font Mono"),
font_size = 14.0,
color_scheme = "Catppuccin Mocha",
-- color_scheme = "carbonfox",
window_background_opacity = 0.95,
window_padding = {
left = 0,
right = 0,
top = 0,
bottom = 0,
},
macos_window_background_blur = 10,
}
-- uncomment this if not using with some wm
-- local mux = wezterm.mux
--
-- wezterm.on("gui-startup", function()
-- local _, _, window = mux.spawn_window({})
-- window:gui_window():maximize()
-- end)
return config

15
.zshrc
View File

@@ -1,14 +1,9 @@
# ---- homebrew ---- # ---- homebrew ----
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- Git Aliases ---- # ---- Aliases ----
alias ga='git add'
alias gaa='git add -A'
alias gcm='git commit -m'
alias gpsh='git push'
alias gs='git status'
alias ls='lsd' alias ls='lsd'
alias lg='lazygit'
alias nv='nvim' alias nv='nvim'
alias neofetch="fastfetch" alias neofetch="fastfetch"
alias python='python3' alias python='python3'
@@ -24,3 +19,9 @@ eval "$(zoxide init --cmd cd zsh)"
# ---- fzf ---- # ---- fzf ----
source <(fzf --zsh) source <(fzf --zsh)
# ---- syntax highlighting ----
source /opt/homebrew/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
export EDITOR="nvim"
export MANPAGER = "nvim +Man!"

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 879 KiB