minor tweaks

This commit is contained in:
Kulvir Singh
2025-01-01 01:30:44 +05:30
parent 8f69f179df
commit e58e6fe782
3 changed files with 10 additions and 21 deletions

View File

@@ -1,25 +1,16 @@
# homebrew # homebrew
eval "$(/opt/homebrew/bin/brew shellenv)" eval "$(/opt/homebrew/bin/brew shellenv)"
# ---- zoxide ----
eval "$(zoxide init --cmd cd bash)"
# ---- fzf ----
eval "$(fzf --bash)"
# ---------------------- # ----------------------
# Aliases # Aliases
# ---------------------- # ----------------------
alias ga='git add' alias ga='git add'
alias gaa='git add -A' alias gaa='git add -A'
alias gcm='git commit -m' alias gcm='git commit -m'
alias gd='git diff' alias gpsh='git push'
alias gpl='git pull'
alias gp='git push'
alias gs='git status' alias gs='git status'
alias ls='lsd' alias ls='lsd'
alias cd='z'
alias nv='nvim' alias nv='nvim'
alias neofetch="fastfetch" alias neofetch="fastfetch"
alias python='python3' alias python='python3'
@@ -27,11 +18,11 @@ alias python='python3'
# ---- Air for GO ---- # ---- Air for GO ----
alias air="~/go/bin/air" alias air="~/go/bin/air"
# ---- bun ----
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
[ -s "/Users/lilj/.bun/_bun" ] && source "/Users/lilj/.bun/_bun"
# ---- starship ---- # ---- starship ----
eval "$(starship init bash)" eval "$(starship init bash)"
# ---- zoxide ----
eval "$(zoxide init --cmd cd bash)"
# ---- fzf ----
eval "$(fzf --bash)"

View File

@@ -2,9 +2,9 @@ local opt = vim.opt
-- Use 4 space tabs -- Use 4 space tabs
-- TODO: Change this back when no company work -- TODO: Change this back when no company work
opt.tabstop = 2 opt.tabstop = 4
opt.softtabstop = 2 opt.softtabstop = 4
opt.shiftwidth = 2 opt.shiftwidth = 4
opt.number = true opt.number = true
opt.relativenumber = true opt.relativenumber = true

2
.zshrc
View File

@@ -5,7 +5,6 @@ eval "$(/opt/homebrew/bin/brew shellenv)"
alias ga='git add' alias ga='git add'
alias gaa='git add -A' alias gaa='git add -A'
alias gcm='git commit -m' alias gcm='git commit -m'
alias gp='git pull'
alias gpsh='git push' alias gpsh='git push'
alias gs='git status' alias gs='git status'
@@ -30,4 +29,3 @@ source <(fzf --zsh)
source /nix/store/5vkzp4m7aazakijfaq579mk5i40j57x0-zsh-syntax-highlighting-0.8.0/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh source /nix/store/5vkzp4m7aazakijfaq579mk5i40j57x0-zsh-syntax-highlighting-0.8.0/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
eval "$(direnv hook zsh)" eval "$(direnv hook zsh)"
export PATH="/opt/homebrew/opt/node@18/bin:$PATH"