CHORE: Cleaned up zshrc, added tpm to tmux and cleaned up old hex codes
and modified macutil
This commit is contained in:
@@ -26,3 +26,4 @@ brew "go"
|
||||
brew "wget"
|
||||
brew "jq"
|
||||
brew "ruby"
|
||||
brew "opencode"
|
||||
|
||||
+5
-1
@@ -26,7 +26,6 @@ DOTFILES_DIR="$HOME/dotfiles"
|
||||
if [ ! -d "$DOTFILES_DIR" ]; then
|
||||
echo "Cloning dotfiles..."
|
||||
git clone https://git@moo:dmm/dotfiles.git
|
||||
cd dotfiles
|
||||
fi
|
||||
cd "$DOTFILES_DIR"
|
||||
brew bundle --file=.Brewfile
|
||||
@@ -34,6 +33,11 @@ brew bundle --file=.Brewfile
|
||||
stow .
|
||||
|
||||
cd ~/
|
||||
TPM_DIR="$HOME/.config/tmux/plugins/tpm/"
|
||||
if [ ! -d "$TPM_DIR" ]; then
|
||||
echo "Cloning tpm..."
|
||||
git clone https://github.com/tmux-plugins/tpm ~/.config/tmux/plugins/tpm
|
||||
fi
|
||||
|
||||
|
||||
# Enable Touch ID for sudo
|
||||
|
||||
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
@@ -13,28 +13,6 @@ set -g status-style 'bg=default' # Completely transparent container
|
||||
|
||||
set -g status-left-length 100
|
||||
set -g status-left "#[fg=#090E13,bg=colour6,bold] #S "
|
||||
# palette = 0=#090E13
|
||||
# palette = 1=#c4746e
|
||||
# palette = 2=#8a9a7b
|
||||
# palette = 3=#c4b28a
|
||||
# palette = 4=#8ba4b0
|
||||
# palette = 5=#a292a3
|
||||
# palette = 6=#8ea4a2
|
||||
# palette = 7=#a4a7a4
|
||||
# palette = 8=#5C6066
|
||||
# palette = 9=#e46876
|
||||
# palette = 10=#87a987
|
||||
# palette = 11=#e6c384
|
||||
# palette = 12=#7fb4ca
|
||||
# palette = 13=#938aa9
|
||||
# palette = 14=#7aa89f
|
||||
# palette = 15=#c5c9c7
|
||||
#
|
||||
# background = #090E13
|
||||
# foreground = #c5c9c7
|
||||
# cursor-color = #c5c9c7
|
||||
# selection-background = #22262D
|
||||
# selection-foreground = #c5c9c7
|
||||
|
||||
set -g status-right ""
|
||||
|
||||
|
||||
@@ -1,14 +1,3 @@
|
||||
if [[ $(uname) != "Darwin" ]]; then
|
||||
if [ -z "${WAYLAND_DISPLAY}" ] && [ "${XDG_VTNR}" -eq 1 ]; then
|
||||
XDG_CURRENT_DESKTOP=sway dbus-run-session sway
|
||||
fi
|
||||
bindkey "^[[1;5C" forward-word
|
||||
bindkey "^[[1;5D" backward-word
|
||||
bindkey "^[[3~" delete-char
|
||||
bindkey "^[[5~" up-line
|
||||
bindkey "^[[6~" down-line
|
||||
fi
|
||||
|
||||
HISTFILE=~/.zsh_history
|
||||
HISTSIZE=100
|
||||
SAVEHIST=200
|
||||
@@ -17,9 +6,7 @@ source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
||||
|
||||
zinit light zsh-users/zsh-autosuggestions
|
||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||
if [[ $(uname) == "Darwin" ]]; then
|
||||
zinit light junegunn/fzf
|
||||
fi
|
||||
|
||||
eval "$(starship init zsh)"
|
||||
eval "$(zoxide init --cmd cd zsh)"
|
||||
@@ -30,32 +17,18 @@ autoload -Uz _zinit
|
||||
export PATH="$HOME/.local/bin:$PATH"
|
||||
|
||||
alias cat="bat"
|
||||
alias rebuild="sudo darwin-rebuild switch --flake /etc/nix-darwin/#Andrews-MacBook-Air";
|
||||
alias enix="nvim /etc/nix-darwin/flake.nix"
|
||||
alias v="nvim"
|
||||
alias ls="eza -a"
|
||||
alias brew-update="brew update && brew upgrade && brew bundle --cleanup --zap --file=~/.Brewfile"
|
||||
alias cmake-update="sudo rm -rd build && cmake -S . -B build && cmake --build build"
|
||||
alias oasis="ssh oasis"
|
||||
|
||||
# alias grep="rg"
|
||||
#
|
||||
if [[ $(uname) != "Darwin" ]]; then
|
||||
alias update_world='doas emerge --ask --update --newuse --deep @world'
|
||||
alias env="sh /home/andrew/personal/dotfiles/env_linux.sh"
|
||||
else
|
||||
alias env='sh ~/personal/dotfiles/env_mac.sh'
|
||||
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -l man'"
|
||||
# export PATH="$HOME/.flutter/bin/:$PATH"
|
||||
export GOOGLE_CLOUD_PROJECT="development-477121"
|
||||
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
|
||||
fi
|
||||
|
||||
### End of Zinit's installer chunk
|
||||
|
||||
# bun completions
|
||||
[ -s "/Users/andrew/.bun/_bun" ] && source "/Users/andrew/.bun/_bun"
|
||||
|
||||
Reference in New Issue
Block a user