Add bashrc.d scripts

This commit is contained in:
Luc Lagarde 2022-11-24 14:59:46 -06:00
parent c2553c1853
commit 2ffe4707e8
6 changed files with 24 additions and 10 deletions

8
bashrc.d.sh Executable file
View File

@ -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

View File

@ -0,0 +1,3 @@
HISTSIZE=100000
HISTFILESIZE=200000
export HISTTIMEFORMAT="%F %T "

View File

@ -0,0 +1,2 @@
alias sudo="sudo "
alias apt="nala"

View File

@ -0,0 +1,2 @@
xset +fp /home/luc_lagarde/.local/share/fonts
xset fp rehash

View File

@ -0,0 +1,2 @@
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
gpgconf --launch-gpg-agetn

View File

@ -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