diff --git a/bashrc.d.sh b/bashrc.d.sh new file mode 100755 index 0000000..9319fc7 --- /dev/null +++ b/bashrc.d.sh @@ -0,0 +1,8 @@ +mkdir -p ~/.bashrc.d +chmod 700 ~/.bashrc.d + +echo >> ~/.bashrc +echo '# Load additional scripts from ~/.bashrc.d/' >> ~/.bashrc +echo 'for file in ~/.bashrc.d/*.bashrc; do' >> ~/.bashrc +echo ' source "$file"' >> ~/.bashrc +echo 'done' >> ~/.bashrc diff --git a/home/luc_lagarde/.bashrc.d/hist-config.bashrc b/home/luc_lagarde/.bashrc.d/hist-config.bashrc new file mode 100644 index 0000000..f9e9f3f --- /dev/null +++ b/home/luc_lagarde/.bashrc.d/hist-config.bashrc @@ -0,0 +1,3 @@ +HISTSIZE=100000 +HISTFILESIZE=200000 +export HISTTIMEFORMAT="%F %T " diff --git a/home/luc_lagarde/.bashrc.d/nala-nag.bashrc b/home/luc_lagarde/.bashrc.d/nala-nag.bashrc new file mode 100644 index 0000000..200dc42 --- /dev/null +++ b/home/luc_lagarde/.bashrc.d/nala-nag.bashrc @@ -0,0 +1,2 @@ +alias sudo="sudo " +alias apt="nala" diff --git a/home/luc_lagarde/.bashrc.d/update-font-cache.bashrc b/home/luc_lagarde/.bashrc.d/update-font-cache.bashrc new file mode 100644 index 0000000..747f8d9 --- /dev/null +++ b/home/luc_lagarde/.bashrc.d/update-font-cache.bashrc @@ -0,0 +1,2 @@ +xset +fp /home/luc_lagarde/.local/share/fonts +xset fp rehash diff --git a/home/luc_lagarde/.bashrc.d/yubikey-as-ssh-key.bashrc b/home/luc_lagarde/.bashrc.d/yubikey-as-ssh-key.bashrc new file mode 100644 index 0000000..536bcd5 --- /dev/null +++ b/home/luc_lagarde/.bashrc.d/yubikey-as-ssh-key.bashrc @@ -0,0 +1,2 @@ +export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket) +gpgconf --launch-gpg-agetn diff --git a/install.sh b/install.sh index e8e5151..aeb9526 100755 --- a/install.sh +++ b/install.sh @@ -6,8 +6,8 @@ ################################################################################ # Configure APT Proxy -echo 'Configure APT Proxy...' -cat etc/apt/apt.conf.d/00mlaga97proxy | sudo tee /etc/apt/apt.conf.d/00mlaga97proxy +#echo 'Configure APT Proxy...' +#cat etc/apt/apt.conf.d/00mlaga97proxy | sudo tee /etc/apt/apt.conf.d/00mlaga97proxy ################################################################################ ################################################################################ @@ -17,7 +17,7 @@ cat etc/apt/apt.conf.d/00mlaga97proxy | sudo tee /etc/apt/apt.conf.d/00mlaga97pr sudo apt update sudo apt install -y nala -sudo nala upgrade -y +#sudo nala upgrade -y # Utilities sudo nala install -y build-essential openssh-server rclone pv curl byobu htop baobab @@ -35,10 +35,10 @@ sudo nala install -y build-essential openssh-server rclone pv curl byobu htop ba ./vim.sh ./gnome-terminal-profile.sh ./google-chrome.sh -./google-earth-pro.sh -./mysql-workbench.sh +#./google-earth-pro.sh +#./mysql-workbench.sh # YubiKey Stuff -# .bashrc.d/ +./bashrc.d.sh # .inputrc sudo usermod -aG dialout `whoami` # sysctl.d @@ -48,7 +48,7 @@ sudo usermod -aG dialout `whoami` ./i3wm.sh # HAM Stuff # Multimedia Software -# VirtualBox +sudo nala install -y virtualbox virtualbox-ext-pack # STM32CubeIDE # ArduinoIDE # PrusaSlicer @@ -60,6 +60,3 @@ sudo usermod -aG dialout `whoami` # Quasselclient # Samba -# .bashrc -# xset +fp /home/luc_lagarde/.local/share/fonts -# xset fp rehash