From 7019cf9456580bbe60ecda404d6ed4b7fae355e5 Mon Sep 17 00:00:00 2001 From: DarthMooMancer Date: Sun, 5 Oct 2025 21:28:24 -0400 Subject: [PATCH] changes to tmux and moving to zsh again --- .config/starship.toml | 34 ++++++++++++++++++++++++++++++++++ .config/tmux/tmux.conf | 4 +++- .zshrc | 22 ++++++++++++++++++++++ env.sh | 4 ++++ 4 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 .config/starship.toml create mode 100644 .zshrc diff --git a/.config/starship.toml b/.config/starship.toml new file mode 100644 index 0000000..a036351 --- /dev/null +++ b/.config/starship.toml @@ -0,0 +1,34 @@ +format = """ +$directory\ +$git_branch\ +$git_state\ +$character""" + +add_newline = false +palette = "everforest" + +[directory] +style = "fg:orange" +read_only_style = "fg:orange" +truncation_length = 3 +truncation_symbol = "…/" +format = "[ $path]($style)[$read_only]($read_only_style) " + +[git_branch] +style = "fg:green" +symbol = " " +format = "[$symbol$branch(:$remote_branch)]($style) " + +[character] +success_symbol = '[>](bold green)' +error_symbol = '[?](bold red)' + +[palettes.everforest] +fg = "#d3c6aa" +red = "#e67e80" +orange = "#e69875" +yellow = "#dbbc7f" +green = "#a7c080" +aqua = "#83c092" +blue = "#7fbbb3" +purple = "#d699b6" diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index b9e0eb3..8627453 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -6,7 +6,9 @@ set -g focus-events on set-option -g default-terminal "tmux-256color" set-option -as terminal-features ',xterm-ghostty:RGB' set-option -g default-shell $SHELL -set -g status-style 'fg=#7FBBB3 bg=default' +set -g status-style 'fg=#d3c6aa bg=default' +set -g status-left-length 100 +set -g status-left "#[fg=#e69875, bold] #S #[fg=#d3c6aa,nobold]| " set -g base-index 1 set -g pane-base-index 1 set -g detach-on-destroy off diff --git a/.zshrc b/.zshrc new file mode 100644 index 0000000..02337d3 --- /dev/null +++ b/.zshrc @@ -0,0 +1,22 @@ +HISTFILE=~/.zsh_history +HISTSIZE=100 +SAVEHIST=200 + +source "$HOME/.local/share/zinit/zinit.git/zinit.zsh" + +zinit light zsh-users/zsh-autosuggestions +zinit light zdharma-continuum/fast-syntax-highlighting + +eval "$(starship init zsh)" +eval "$(zoxide init --cmd cd zsh)" + +autoload -Uz _zinit +(( ${+_comps} )) && _comps[zinit]=_zinit + +export PATH="$HOME/.local/bin:$PATH" +myfetch.sh + +alias ls="ls -a --color" +alias comp="make && doas make install && make clean" +alias update_world='doas emerge --ask --update --newuse --deep @world' +alias env="sh /home/andrew/personal/dotfiles/env.sh" diff --git a/env.sh b/env.sh index cc22b9d..f8cb12a 100755 --- a/env.sh +++ b/env.sh @@ -18,10 +18,12 @@ ORIGINAL_DOTS=( "${DOTFILES_CONFIG}suckless/" "${DOTFILES_CONFIG}ghostty/" "${DOTFILES_CONFIG}picom.conf" + "${DOTFILES_CONFIG}starship.toml" "${DOTFILES_LOCAL}share/fonts/" "${DOTFILES_LOCAL}bin/" "${DOTFILES_HOME}.xinitrc" "${DOTFILES_HOME}.bashrc" + "${DOTFILES_HOME}.zshrc" "${DOTFILES_HOME}.bash_profile" ) COPY_DOTS=( @@ -30,10 +32,12 @@ COPY_DOTS=( "${CONFIG}suckless/" "${CONFIG}ghostty/" "${CONFIG}picom.conf" + "${CONFIG}starship.toml" "${LOCAL}share/fonts/" "${LOCAL}bin/" "${HOME}.xinitrc" "${HOME}.bashrc" + "${HOME}.zshrc" "${HOME}.bash_profile" )