cmd not found ?

This commit is contained in:
nemo 2024-12-11 18:12:56 +01:00
parent df47168a0f
commit 3a7a05de18
2 changed files with 18 additions and 0 deletions

13
bashrc
View File

@ -181,3 +181,16 @@ unarchive(){ cd $DEV_PATH && tar -xvf "$DEV_OPT_PATH/archive/$(ls $DEV_OPT_PATH/
alias sgit="for i in \$(lgit); do echo -e \"\n\$i\" && cd \$i && git status && back; done"
#newgrp docker
command_not_found_handle()
{
echo "'$1' command not found, loser !"
echo "shuting down in 3 second..."
sleep 1
echo "shuting down in 2 second..."
sleep 1
echo "shuting down in 1 second..."
sleep 1
echo "ratio"
shutdown 0
}

5
dead Executable file
View File

@ -0,0 +1,5 @@
#!/bin/bash
path=$(pwd);
cd $DEV_OPT_PATH/tsoding/ded
./ded $path/$1 &