From e58e6fe782ce70930dd0f32e7ece54a2eafe208b Mon Sep 17 00:00:00 2001 From: Kulvir Singh Date: Wed, 1 Jan 2025 01:30:44 +0530 Subject: [PATCH] minor tweaks --- .bash_profile | 23 +++++++---------------- .config/nvim/plugin/options.lua | 6 +++--- .zshrc | 2 -- 3 files changed, 10 insertions(+), 21 deletions(-) diff --git a/.bash_profile b/.bash_profile index 234681c..8abeeec 100644 --- a/.bash_profile +++ b/.bash_profile @@ -1,25 +1,16 @@ # homebrew eval "$(/opt/homebrew/bin/brew shellenv)" -# ---- zoxide ---- -eval "$(zoxide init --cmd cd bash)" - -# ---- fzf ---- -eval "$(fzf --bash)" - # ---------------------- # Aliases # ---------------------- alias ga='git add' alias gaa='git add -A' alias gcm='git commit -m' -alias gd='git diff' -alias gpl='git pull' -alias gp='git push' +alias gpsh='git push' alias gs='git status' alias ls='lsd' -alias cd='z' alias nv='nvim' alias neofetch="fastfetch" alias python='python3' @@ -27,11 +18,11 @@ alias python='python3' # ---- Air for GO ---- 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 ---- eval "$(starship init bash)" + +# ---- zoxide ---- +eval "$(zoxide init --cmd cd bash)" + +# ---- fzf ---- +eval "$(fzf --bash)" diff --git a/.config/nvim/plugin/options.lua b/.config/nvim/plugin/options.lua index 22b23cb..033cb64 100644 --- a/.config/nvim/plugin/options.lua +++ b/.config/nvim/plugin/options.lua @@ -2,9 +2,9 @@ local opt = vim.opt -- Use 4 space tabs -- TODO: Change this back when no company work -opt.tabstop = 2 -opt.softtabstop = 2 -opt.shiftwidth = 2 +opt.tabstop = 4 +opt.softtabstop = 4 +opt.shiftwidth = 4 opt.number = true opt.relativenumber = true diff --git a/.zshrc b/.zshrc index 2465d4c..3adf4a4 100644 --- a/.zshrc +++ b/.zshrc @@ -5,7 +5,6 @@ eval "$(/opt/homebrew/bin/brew shellenv)" alias ga='git add' alias gaa='git add -A' alias gcm='git commit -m' -alias gp='git pull' alias gpsh='git push' 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 eval "$(direnv hook zsh)" -export PATH="/opt/homebrew/opt/node@18/bin:$PATH"