chore(starship, nvim, tmux): removing starship, navigation between tmux and nvim, updated environment configs and scripts
This commit is contained in:
1 parent
c9b2a67939
commit
89d37946cf
19 files changed
+354
-405
No files matched your search
+23
-23
@@ -1,46 +1,46 @@
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=100
|
||||
SAVEHIST=200
|
||||
HISTSIZE=50000
|
||||
SAVEHIST=50000
|
||||
setopt INC_APPEND_HISTORY SHARE_HISTORY HIST_IGNORE_ALL_DUPS HIST_REDUCE_BLANKS
|
||||
|
||||
source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
||||
ZPLUGINS=$HOME/.local/share/zsh/plugins
|
||||
[[ -d $ZPLUGINS/zsh-autosuggestions ]] ||
|
||||
git clone --depth=1 https://github.com/zsh-users/zsh-autosuggestions $ZPLUGINS/zsh-autosuggestions
|
||||
source $ZPLUGINS/zsh-autosuggestions/zsh-autosuggestions.zsh
|
||||
|
||||
zinit light zsh-users/zsh-autosuggestions
|
||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||
zinit light junegunn/fzf
|
||||
[[ -d $ZPLUGINS/fast-syntax-highlighting ]] ||
|
||||
git clone --depth=1 https://github.com/zdharma-continuum/fast-syntax-highlighting $ZPLUGINS/fast-syntax-highlighting
|
||||
source $ZPLUGINS/fast-syntax-highlighting/fast-syntax-highlighting.plugin.zsh
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
[[ -d $ZPLUGINS/pure ]] ||
|
||||
git clone --depth=1 https://github.com/sindresorhus/pure.git $ZPLUGINS/pure
|
||||
fpath+=($ZPLUGINS/pure)
|
||||
|
||||
autoload -U promptinit; promptinit
|
||||
prompt pure
|
||||
|
||||
source <(fzf --zsh)
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
|
||||
autoload -Uz _zinit
|
||||
(( ${+_comps} )) && _comps[zinit]=_zinit
|
||||
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
alias cat="bat"
|
||||
alias v="nvim"
|
||||
alias ls="eza -a"
|
||||
# alias brew-update="brew update && brew upgrade && brew bundle --force-cleanup --zap --file=~/.Brewfile"
|
||||
alias ls="eza --group-directories-first -a"
|
||||
alias brew-update="brew update && brew upgrade && brew bundle --global --zap cleanup --force"
|
||||
alias cmake-update="sudo rm -rd build && cmake -S . -B build && cmake --build build"
|
||||
alias cmake-update="rm -rf build && cmake -S . -B build && cmake --build build"
|
||||
alias oasis="ssh oasis"
|
||||
|
||||
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -l man'"
|
||||
export MANPAGER="sh -c 'col -bx | bat -p -l main'"
|
||||
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||
export HOMEBREW_NO_ENV_HINTS=1
|
||||
export HOMEBREW_DISPLAY_INSTALL_TIMES=0
|
||||
export HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=1
|
||||
export HOMEBREW_NO_EMOJI=1
|
||||
|
||||
# bun completions
|
||||
[ -s "/Users/andrew/.bun/_bun" ] && source "/Users/andrew/.bun/_bun"
|
||||
[ -s "$HOME/.bun/_bun" ] && source "$HOME/.bun/_bun"
|
||||
|
||||
# bun
|
||||
export BUN_INSTALL="$HOME/.bun"
|
||||
export PATH="$BUN_INSTALL/bin:$PATH"
|
||||
export PATH="/opt/homebrew/opt/ruby/bin:$PATH"
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
export PATH="$HOME/go/bin:$PATH"
|
||||
export PATH="$HOME/go/bin/my-bin:$PATH"
|
||||
export LDFLAGS="-L/opt/homebrew/opt/ruby/lib"
|
||||
export CPPFLAGS="-I/opt/homebrew/opt/ruby/include"
|
||||
export PATH="/opt/homebrew/opt/openjdk/bin:$PATH"
|
||||
export LUA_PATH="./lua/?.lua;./lua/?/init.lua;;"
|
||||
Reference in new issue
Block a user