commit fd26c3f028b6c4fd57c094ddda96811a134bea51
parent 3264bdb97a85082f88cf3568d45967ef3b87e5cd
Author: Remy Noulin <loader2x@gmail.com>
Date: Mon, 12 May 2025 11:57:07 +0200
comment out mostly unused lines, add cx alias to make files executable, add gsmi and gsmu for git submodule init,update
debian/1-system.sh | 45 ++++++++++++++++++++++++---------------------
debian/2-desktopSystem.sh | 26 +++++++++++++-------------
dotfiles/.bash_aliases | 3 +++
3 files changed, 40 insertions(+), 34 deletions(-)
Diffstat:
3 files changed, 40 insertions(+), 34 deletions(-)
diff --git a/debian/1-system.sh b/debian/1-system.sh
@@ -8,7 +8,8 @@ apt-get update -y
apt-get upgrade -y
apt-get remove -y vim-tiny
# sshguard alternative is fail2ban
-apt-get install -y manpages cmake sshguard net-tools curl wget tmux build-essential clang-15 clangd-15 clang-format-15 clang-tidy-15 clang-tools-15 tree apt-transport-https screen ranger mc vim-nox ncftp p7zip-full rtorrent pbzip2 atop htop tcc sshuttle finger cmatrix jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode apt-file libpcre3-dev graphviz pandoc elinks w3m links nmap figlet zip lynx apt-src cowsay sl tig rdiff-backup imagemagick graphicsmagick llgal moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind doxygen fish gdb lcov slurm cloc python3-dev python3-pip silversearcher-ag ncdu mutt msmtp bmon lm-sensors cppcheck check clang toilet erlang mini-dinstall pinentry-curses exuberant-ctags cscope mkdocs source-highlight highlight massif-visualizer locate etckeeper autojump emacs-nox strace slrn ncal
+apt-get install -y manpages cmake sshguard net-tools curl wget tmux build-essential clang-15 clangd-15 clang-format-15 clang-tidy-15 clang-tools-15 tree apt-transport-https screen ranger mc vim-nox ncftp rtorrent pbzip2 htop finger openssh-server ntp iftop iotop unison apt-file libpcre3-dev w3m zip apt-src tig moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle valgrind gdb lcov cloc ncdu mutt msmtp cppcheck clang exuberant-ctags cscope source-highlight highlight etckeeper autojump strace slrn
+#apt-get install -y manpages cmake sshguard net-tools curl wget tmux build-essential clang-15 clangd-15 clang-format-15 clang-tidy-15 clang-tools-15 tree apt-transport-https screen ranger mc vim-nox ncftp p7zip-full rtorrent pbzip2 atop htop tcc sshuttle finger cmatrix jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode apt-file libpcre3-dev graphviz pandoc elinks w3m links nmap figlet zip lynx apt-src cowsay sl tig rdiff-backup imagemagick graphicsmagick llgal moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind doxygen fish gdb lcov slurm cloc python3-dev python3-pip silversearcher-ag ncdu mutt msmtp bmon lm-sensors cppcheck check clang toilet erlang mini-dinstall pinentry-curses exuberant-ctags cscope mkdocs source-highlight highlight massif-visualizer locate etckeeper autojump emacs-nox strace slrn ncal
# vim
sed -i 's/"syntax on/syntax on/g' /etc/vim/vimrc
@@ -25,14 +26,16 @@ spm -g install hidir
spm -g install lolcat
# dsf is inspired by diff-so-fancy
spm -g install dsf
+spm -g install heure
+spm -g install calendar
cd ..
# doitlive
-pip install doitlive
+#pip install doitlive
# optional
-apt-get install -y p7zip-rar rar
-apt-get install -y --allow-unauthenticated easydoneit
+#apt-get install -y p7zip-rar rar
+#apt-get install -y --allow-unauthenticated easydoneit
# git (root account)
cp ../dotfiles/.gitconfig /root/
@@ -42,21 +45,21 @@ git config --global user.email "you@example.com"
git config --global user.name "Your Name"
# tty-clock missing in bookworm
-git clone https://github.com/xorg62/tty-clock
-cd tty-clock
-make
-cp tty-clock /usr/bin/
-cd ..
+#git clone https://github.com/xorg62/tty-clock
+#cd tty-clock
+#make
+#cp tty-clock /usr/bin/
+#cd ..
# timg image viewer in terminal
-git clone https://github.com/hzeller/timg.git
-cd timg/src
-apt-get install -y libwebp-dev libgraphicsmagick++-dev libturbojpeg0-dev libavutil-dev libswscale-dev libopenslide-dev libavcodec-dev libavformat-dev libavdevice-dev
-mkdir build
-cd build
-cmake ../ -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On
-make && make install
-cd ../..
+#git clone https://github.com/hzeller/timg.git
+#cd timg/src
+#apt-get install -y libwebp-dev libgraphicsmagick++-dev libturbojpeg0-dev libavutil-dev libswscale-dev libopenslide-dev libavcodec-dev libavformat-dev libavdevice-dev
+#mkdir build
+#cd build
+#cmake ../ -DWITH_VIDEO_DECODING=On -DWITH_VIDEO_DEVICE=On -DWITH_OPENSLIDE_SUPPORT=On
+#make && make install
+#cd ../..
# git-off
git clone https://noulin.net/git/git-off.git
@@ -80,10 +83,10 @@ make install clean
cd ..
# install yank
-git clone https://github.com/mptre/yank
-cd yank
-make install clean
-cd ..
+#git clone https://github.com/mptre/yank
+#cd yank
+#make install clean
+#cd ..
# end
apt-get autoremove -y
diff --git a/debian/2-desktopSystem.sh b/debian/2-desktopSystem.sh
@@ -15,24 +15,24 @@ cd ..
# palemoon
-echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_9.0/ /' > /etc/apt/sources.list.d/palemoon.list
-wget -nv http://download.opensuse.org/repositories/home:stevenpusser/Debian_9.0/Release.key -O Release.key
-apt-key add - < Release.key
-apt-get update -y
-apt-get install -y palemoon
-#apt-get install -y --allow-unauthenticated palemoon
+#echo 'deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_9.0/ /' > /etc/apt/sources.list.d/palemoon.list
+#wget -nv http://download.opensuse.org/repositories/home:stevenpusser/Debian_9.0/Release.key -O Release.key
+#apt-key add - < Release.key
+#apt-get update -y
+#apt-get install -y palemoon
+##apt-get install -y --allow-unauthenticated palemoon
# virtualbox
-echo 'deb http://download.virtualbox.org/virtualbox/debian stretch contrib' > /etc/apt/sources.list.d/virtualbox.list
-curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
-apt-key add oracle_vbox_2016.asc
-apt-get update -y
-apt-get install -y virtualbox-5.1
+#echo 'deb http://download.virtualbox.org/virtualbox/debian stretch contrib' > /etc/apt/sources.list.d/virtualbox.list
+#curl -O https://www.virtualbox.org/download/oracle_vbox_2016.asc
+#apt-key add oracle_vbox_2016.asc
+#apt-get update -y
+#apt-get install -y virtualbox-5.1
# lsix ls photos pictures in terminal
-git clone https://github.com/hackerb9/lsix.git
-cp lsix/lsix /usr/local/bin/
+#git clone https://github.com/hackerb9/lsix.git
+#cp lsix/lsix /usr/local/bin/
# sc-im sc improved - vim-like spreadsheet calculator
# some libraries are missing when compiling sc-in in 1-system.sh
diff --git a/dotfiles/.bash_aliases b/dotfiles/.bash_aliases
@@ -33,6 +33,7 @@ alias pl='~/bin/pl.sh'
alias scim=sc-im
alias heure="tty-clock -sxcC 1 -d 0 -a 100000000"
alias p="jobs"
+alias cx="chmod 755"
# Display colors in less :
@@ -134,6 +135,8 @@ alias gig='cp ~/.gittemplates/.gitignore'
alias gad='git add'
alias gcl='git clean -d -f'
alias gv='git diff-tree --no-commit-id --name-only -r'
+alias gsmi='git submodule init'
+alias gsmu='git submodule update'
alias N='~/bin/N.sh'