Skip to content

Instantly share code, notes, and snippets.

@kokossVN
kokossVN / fakecode.sh
Last active October 19, 2025 06:39
Fake VScode for Unity Editor
#!/bin/bash
echo "VScode Argument: $@" | tee -a /tmp/unitycode.log
file_split() {
sed 's/\(.*\)-g \(.*\)/\2/' | sed "s/\(.*\):\(.*\):\(.*\)/\\$1/"
}
start_nvim() {
if [[ $TERM == *screen-256color* ]] || [[ $TERM == *kitty* ]]; then #screen-256color is tmux