mirror of
http://github.com/JaeUs3792/dotfiles
synced 2025-12-13 23:51:34 +09:00
remove unused scripts,
This commit is contained in:
8
.zshrc
8
.zshrc
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user