From d0a3fa2ddd2843a55cce25d29fe61daf27ef1d38 Mon Sep 17 00:00:00 2001 From: Mitsuo Tokumori Date: Thu, 18 Dec 2025 19:25:27 +0900 Subject: Update minimal Uncomment useful lines on bashrc. Update comments --- minimal/.bashrc | 20 +++++++++++--------- minimal_linking_example.sh | 4 +--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/minimal/.bashrc b/minimal/.bashrc index 761e585..21c6191 100644 --- a/minimal/.bashrc +++ b/minimal/.bashrc @@ -1,17 +1,17 @@ -# -# ~/.bashrc -# +# ~/.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 [[ $- != *i* ]] && return # Bash config -#export EDITOR=nvim -#HISTCONTROL=ignoreboth -#shopt -s histappend -#HISTSIZE=1000 -#HISTFILESIZE=2000 -#shopt -s checkwinsize +export EDITOR=nvim +HISTCONTROL=ignoreboth +shopt -s histappend +HISTSIZE=1000 +HISTFILESIZE=2000 +shopt -s checkwinsize # Alias definitions. if [ -f ~/.bash_aliases ]; then @@ -40,3 +40,5 @@ export LESS # better `ls` (and other programs like `tree`) colors #eval "$(dircolors)" +# tmux on remote machine (over ssh) complains if TERM=st-256color +#export TERM=tmux-256color diff --git a/minimal_linking_example.sh b/minimal_linking_example.sh index 8221069..f4e0103 100644 --- a/minimal_linking_example.sh +++ b/minimal_linking_example.sh @@ -1,4 +1,4 @@ -# I don't maintain this file, use it ONLY AS REFERENCE +# BRUTELY INSTALLS CONFIG FILES AS SYMLINKS # # WARNINGS: # * if $HOME contains spaces this breaks @@ -16,7 +16,5 @@ ln -sf $target/.bashrc ln -sf $target/.bash_aliases mkdir -p $dest/.config cd $dest/.config -ln -sf $target/.config/git -ln -sf $target/.config/locale.conf ln -sf $target/.config/nvim ln -sf $target/.config/tmux -- cgit v1.2.3