aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitsuo Tokumori <mitsuo@tokumori.xyz>2025-12-18 19:25:27 +0900
committerMitsuo Tokumori <mitsuo@tokumori.xyz>2025-12-18 19:25:27 +0900
commitd0a3fa2ddd2843a55cce25d29fe61daf27ef1d38 (patch)
treeb916cba0e7a6997a4e9dc85a52645d08fec5c344
parent3ae41fadb4837262801dfddce098587e99ae609f (diff)
Update minimal
Uncomment useful lines on bashrc. Update comments
-rw-r--r--minimal/.bashrc20
-rw-r--r--minimal_linking_example.sh4
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