Skip to content

Instantly share code, notes, and snippets.

View LazyRen's full-sized avatar
🇰🇷
Work Hard to be Lazy

Lee, DaeIn LazyRen

🇰🇷
Work Hard to be Lazy
View GitHub Profile
@ianloic
ianloic / remote-code.zsh
Created February 16, 2021 19:49
Zsh function to invoke vscode remote
code () {
local script=$(echo ~/.vscode-server/bin/*/bin/code(*ocNY1))
if [[ -z ${script} ]]
then
echo "VSCode remote script not found"
exit 1
fi
local socket=$(echo /run/user/$UID/vscode-ipc-*.sock(=ocNY1))
if [[ -z ${socket} ]]
then