Added the forgotten & and the end of commands to lunch it detached

master
key 4 years ago
parent 2863f1a46e
commit c94ed04941

@ -35,7 +35,7 @@ Plug 'arcticicestudio/nord-vim'
Plug 'vim-utils/vim-man'
Plug 'mbbill/undotree'
Plug 'gyim/vim-boxdraw'
Plug 'vim-airline/vim-airline'
""Plug 'theprimeagen/vim-be-good'
call plug#end()
"--------------------------------------------------------------------
@ -70,6 +70,7 @@ noremap <silent> <leader>tc :Cont<cr>
map <leader>pv :Sex! <bar> :vertical resize 30<CR>
map ,/ :s/^/\/\//<CR>
map ,{ :s/);/)\r{\r\t\r}\r/g<CR>
map <leader>ra ebvey :%s/<C-R>0/
"--------------------------------------------------------------------
"WILDMENU FOR FUZZY FILE SEARCH--------------------------------------

@ -23,7 +23,8 @@ goto_client ()
if [ -z "$CMD_2" ]
then
cd "$CLIENT_PATH"
explorer.exe .
explorer.exe . &
exit
elif [ "$CMD_2" == "list" ]
then
cd "$CLIENT_PATH"
@ -33,7 +34,8 @@ goto_client ()
if [ -d "$CLIENT_PATH_TOGO" ]
then
cd "$CLIENT_PATH_TOGO"
explorer.exe .
explorer.exe . &
exit
else
cd "$CLIENT_PATH"
echo "Client not found"
@ -48,7 +50,7 @@ goto_manufacturer ()
if [ -z "$CMD_2" ]
then
cd "$MAN_PATH"
explorer.exe .
explorer.exe . &
elif [ "$CMD_2" == "list" ]
then
cd "$MAN_PATH"
@ -58,7 +60,8 @@ goto_manufacturer ()
if [ -d "$MAN_PATH_TOGO" ]
then
cd "$MAN_PATH_TOGO"
explorer.exe .
explorer.exe . &
exit
else
cd "$MAN_PATH"
echo "Manufacturer not found"
@ -73,6 +76,7 @@ check_command ()
if [ -z "$CMD_1" ]
then
echo no argument was given
exit
elif [ "$CMD_1" == "cli" ]
then
goto_client
@ -85,3 +89,4 @@ check_command ()
}
check_command
exit

@ -23,12 +23,14 @@ OTLK_SENT="Gesendete Elemente"
goto_folder ()
{
exec "$OUTLOOK_EXE" $OULOOK_CMD $INBOX:$TO_OPEN
exec "$OUTLOOK_EXE" $OULOOK_CMD $INBOX:$TO_OPEN &
exit
}
goto_calendar ()
{
exec "$OUTLOOK_EXE" $OULOOK_CMD $INBOX:$CALENDAR
exec "$OUTLOOK_EXE" $OULOOK_CMD $INBOX:$CALENDAR &
exit
}
command_translator ()
@ -56,6 +58,7 @@ check_command ()
if [ -z "$CMD_1" ]
then
echo no argument was given
exit
elif [ "$CMD_1" == "cal" ]
then
goto_calendar
@ -66,10 +69,10 @@ check_command ()
goto_folder
else
command_translator
TO_OPEN=$TO_OPEN/$CMD_2
goto_folder
fi
fi
exit
}
check_command

@ -32,13 +32,12 @@ goto_folder ()
if [ "$item" == "$CMD_1" ]
then
echo Will open : ${arr_links[$index]}
exec "$ONENOTE_EXE" $ONENOTE_CMD ${arr_links[$index]}
exec "$ONENOTE_EXE" $ONENOTE_CMD ${arr_links[$index]} &
fi
((index=index + 1))
done
done
echo Comman not found : $CMD_1
exit
}
@ -59,7 +58,7 @@ goto_direct ()
fi
echo Will open : $ONENOTE_DIR/$ONENOTE_SUB_DIR/$CMD_2.one
exec "$ONENOTE_EXE" $ONENOTE_CMD $ONENOTE_DIR/$ONENOTE_SUB_DIR/$CMD_2.one
exec "$ONENOTE_EXE" $ONENOTE_CMD $ONENOTE_DIR/$ONENOTE_SUB_DIR/$CMD_2.one &
}
check_command ()
@ -67,6 +66,7 @@ check_command ()
if [ -z "$CMD_1" ]
then
echo no argument was given
exit
else
if [ -z "$CMD_2" ]
then
@ -78,3 +78,4 @@ check_command ()
}
check_command
exit

@ -10,10 +10,20 @@ check_command ()
if [ -z "$CMD_1" ]
then
echo no argument was given
exit
else
if [ "$CMD_1" == "deepl" ]
then
exec "$EDGE_EXE" \"\" www.deepl.com
exec "$EDGE_EXE" www.deepl.com &
exit
elif [ "$CMD_1" == "draw" ]
then
exec "$EDGE_EXE" www.draw.io &
exit
elif [ "$CMD_1" == "citrix" ]
then
exec "$EDGE_EXE" https://unityapps.arrow.com/Citrix/StoreWeb/ &
exit
else
echo "Command not found : $CMD_1"
fi
@ -21,3 +31,4 @@ check_command ()
}
check_command
exit

Loading…
Cancel
Save