remove unused scripts,

This commit is contained in:
2024-04-05 09:53:49 +09:00
parent 53e5aed015
commit 4a99c43304
5 changed files with 5 additions and 64 deletions

8
.zshrc
View File

@ -41,10 +41,12 @@ alias ll="exa -l --color=always --group-directories-first"
alias lt="exa -aT --color=always --group-directories-first"
alias l.='exa -a | egrep "^\."'
#cat ~/.cache/wal/sequences &
# WSL2
#source ~/scripts/custom_env.sh
if [[ $JUPCID == "WSL" ]];then
VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
export DISPLAY=$VETHER_IP:10.0
fi
# python env
export PYTHONSTARTUP=~/scripts/my_imports.py

View File

@ -1,9 +0,0 @@
#!/bin/bash
# configurable parameter
JAEUS_ENV="WSL"
if [[ $JAEUS_ENV == "WSL" ]];then
VETHER_IP=$(/bin/grep nameserver /etc/resolv.conf 2> /dev/null | /bin/tr -s ' ' | /bin/cut -d' ' -f2)
export DISPLAY=$VETHER_IP:10.0
fi

View File

@ -1,23 +0,0 @@
#!/bin/sh
echo "===================================="
echo "Share Directory Mount?(y/N)?"
echo ${whoami}
read val
if [ "${val}" == "" ]; then
val="N"
fi
if [ "${val}" == "y" ];then
echo "address(ex://192.168.1.144/d)?"
read addr
echo "user(ex:JaeUs-HV)?"
read user
echo "password?"
read pass
echo "mount point(ex:/home/jaeus/mnt)?"
read mpoint
sudo echo "${addr} ${mpoint} cifs _netdev,nofail,username=${user},password=${pass},uid=jaeus,gid=jaeus 0 0" >> /etc/fstab
fi

View File

@ -1,19 +0,0 @@
#!/bin/bash
# update my linux config
cd ~/.dotfiles
git pull
# update linux packages
paru
# update bitwarden
cd ~/server/bitwarden_docker
sudo docker-compose down
sudo docker-compose pull
sudo docker-compose up -d
# wetty
yarn global upgrade wetty
# doom emacs upgrade
~/.emacs.d/bin/doom upgrade

View File

@ -1,10 +0,0 @@
# SSH Daemon
sudo /bin/sshd
# Cron
sudo /bin/crond
# Ip config ( When Netcus desktop )
sudo ip addr add dev eth0 192.168.144.2/24
sudo ip addr add dev eth0 192.168.1.146/24