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 "wget"
|
||||||
brew "jq"
|
brew "jq"
|
||||||
brew "ruby"
|
brew "ruby"
|
||||||
|
brew "opencode"
|
||||||
|
|||||||
+5
-1
@@ -26,7 +26,6 @@ DOTFILES_DIR="$HOME/dotfiles"
|
|||||||
if [ ! -d "$DOTFILES_DIR" ]; then
|
if [ ! -d "$DOTFILES_DIR" ]; then
|
||||||
echo "Cloning dotfiles..."
|
echo "Cloning dotfiles..."
|
||||||
git clone https://git@moo:dmm/dotfiles.git
|
git clone https://git@moo:dmm/dotfiles.git
|
||||||
cd dotfiles
|
|
||||||
fi
|
fi
|
||||||
cd "$DOTFILES_DIR"
|
cd "$DOTFILES_DIR"
|
||||||
brew bundle --file=.Brewfile
|
brew bundle --file=.Brewfile
|
||||||
@@ -34,6 +33,11 @@ brew bundle --file=.Brewfile
|
|||||||
stow .
|
stow .
|
||||||
|
|
||||||
cd ~/
|
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
|
# 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-length 100
|
||||||
set -g status-left "#[fg=#090E13,bg=colour6,bold] #S "
|
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 ""
|
set -g status-right ""
|
||||||
|
|
||||||
|
|||||||
+7
-34
@@ -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
|
HISTFILE=~/.zsh_history
|
||||||
HISTSIZE=100
|
HISTSIZE=100
|
||||||
SAVEHIST=200
|
SAVEHIST=200
|
||||||
@@ -17,9 +6,7 @@ source "$HOME/.local/share/zinit/zinit.git/zinit.zsh"
|
|||||||
|
|
||||||
zinit light zsh-users/zsh-autosuggestions
|
zinit light zsh-users/zsh-autosuggestions
|
||||||
zinit light zdharma-continuum/fast-syntax-highlighting
|
zinit light zdharma-continuum/fast-syntax-highlighting
|
||||||
if [[ $(uname) == "Darwin" ]]; then
|
zinit light junegunn/fzf
|
||||||
zinit light junegunn/fzf
|
|
||||||
fi
|
|
||||||
|
|
||||||
eval "$(starship init zsh)"
|
eval "$(starship init zsh)"
|
||||||
eval "$(zoxide init --cmd cd zsh)"
|
eval "$(zoxide init --cmd cd zsh)"
|
||||||
@@ -30,32 +17,18 @@ autoload -Uz _zinit
|
|||||||
export PATH="$HOME/.local/bin:$PATH"
|
export PATH="$HOME/.local/bin:$PATH"
|
||||||
|
|
||||||
alias cat="bat"
|
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 v="nvim"
|
||||||
alias ls="eza -a"
|
alias ls="eza -a"
|
||||||
alias brew-update="brew update && brew upgrade && brew bundle --cleanup --zap --file=~/.Brewfile"
|
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 cmake-update="sudo rm -rd build && cmake -S . -B build && cmake --build build"
|
||||||
alias oasis="ssh oasis"
|
alias oasis="ssh oasis"
|
||||||
|
|
||||||
# alias grep="rg"
|
export MANPAGER="sh -c 'sed -u -e \"s/\\x1B\\[[0-9;]*m//g; s/.\\x08//g\" | bat -p -l man'"
|
||||||
#
|
export HOMEBREW_NO_AUTO_UPDATE=1
|
||||||
if [[ $(uname) != "Darwin" ]]; then
|
export HOMEBREW_NO_ENV_HINTS=1
|
||||||
alias update_world='doas emerge --ask --update --newuse --deep @world'
|
export HOMEBREW_DISPLAY_INSTALL_TIMES=0
|
||||||
alias env="sh /home/andrew/personal/dotfiles/env_linux.sh"
|
export HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS=1
|
||||||
else
|
export HOMEBREW_NO_EMOJI=1
|
||||||
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
|
# bun completions
|
||||||
[ -s "/Users/andrew/.bun/_bun" ] && source "/Users/andrew/.bun/_bun"
|
[ -s "/Users/andrew/.bun/_bun" ] && source "/Users/andrew/.bun/_bun"
|
||||||
|
|||||||
Reference in New Issue
Block a user