dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 84fd7e23081f4b467a691cd308ca438f68592a5c
parent cc03ab659fa1f5c3698afefacf01db3eaa6e84da
Author: AndrewLockVI <andrew@laack.co>
Date:   Sun,  9 Feb 2025 13:13:07 -0600

Simple tweaks

Diffstat:
Mbashrc | 44++------------------------------------------
Mtmux.conf | 4++++
2 files changed, 6 insertions(+), 42 deletions(-)

diff --git a/bashrc b/bashrc @@ -1,15 +1,9 @@ -# ~/.bashrc: executed by bash(1) for non-login shells. -# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) -# for examples - # If not running interactively, don't do anything case $- in *i*) ;; *) return;; esac -# don't put duplicate lines or lines starting with space in the history. -# See bash(1) for more options HISTCONTROL=ignoreboth # append to the history file, don't overwrite it @@ -23,22 +17,11 @@ HISTFILESIZE=2000 # update the values of LINES and COLUMNS. shopt -s checkwinsize -# If set, the pattern "**" used in a pathname expansion context will -# match all files and zero or more directories and subdirectories. -#shopt -s globstar - -# make less more friendly for non-text input files, see lesspipe(1) -#[ -x /usr/bin/lesspipe ] && eval "$(SHELL=/bin/sh lesspipe)" - # set a fancy prompt (non-color, unless we know we "want" color) case "$TERM" in xterm-color|*-256color) color_prompt=yes;; esac -# uncomment for a colored prompt, if the terminal has the capability; turned -# off by default to not distract the user: the focus in a terminal window -# should be on the output of commands, not on the prompt -#force_color_prompt=yes if [ -n "$force_color_prompt" ]; then if [ -x /usr/bin/tput ] && tput setaf 1 >&/dev/null; then @@ -66,31 +49,6 @@ if [ -x /usr/bin/dircolors ]; then #alias egrep='egrep --color=auto' fi -# colored GCC warnings and errors -#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01' - -# some more ls aliases -#alias ll='ls -l' -#alias la='ls -A' -#alias l='ls -CF' - -# Alias definitions. -# You may want to put all your additions into a separate file like -# ~/.bash_aliases, instead of adding them here directly. -# See /usr/share/doc/bash-doc/examples in the bash-doc package. - -if [ -f ~/.bash_aliases ]; then - . ~/.bash_aliases -fi - -# Start tmux automatically if not already inside a tmux session - -# if command -v tmux &> /dev/null && [ -z "$TMUX" ]; then -# tmux -#fi - -export PATH="$HOME/.local/bin:$PATH" - eval "$(zoxide init bash)" cd() { @@ -136,3 +94,5 @@ sendit() { export EDITOR=vim alias sshServer='ssh andrew@brgr.heron-peacock.ts.net' + +export PS1='\u@\h:\w\$ ' diff --git a/tmux.conf b/tmux.conf @@ -52,3 +52,7 @@ set -g status-bg '#000000' # Light pinkish background (similar to Cappuccin's ' set -g status-fg '#FFFFFF' # Off-white foreground color (similar to Cappuccin's 'latte') set -g status-left '' # Hide system name on the left side set -g status-right '' # Hide time on the right side + +# without this for some reason the prompt was not setting +# as expected for bash... +set-option -g default-command "$SHELL --rcfile ~/.bashrc"