Skip to content

How can I wallbash cursor IDE, (vs-code interface) #1831

Answered by kRHYME7
KitsuneKode asked this question in Q&A
Discussion options

You must be logged in to vote

Test it
change your ~/.local/share/bin/wallbashcode.sh with this

#!/usr/bin/env sh

#// set variables
scrDir="$(dirname "$(realpath "$0")")"
source "${scrDir}/globalcontrol.sh"
readarray -t codeConf < <(find "${confDir}" -mindepth 1 -maxdepth 1 -type d -name "Code*" -o -name "VSCodium*" -o -name "Cursor*" | sort)
readarray -t codeVsix < <(find "$HOME" -mindepth 1 -maxdepth 1 -type d -name ".vscode*" -o -name ".cursor" | sort)
tmpFile="/tmp/$(id -u)$(basename ${0}).tmp"
tgtFile="extensions/undefined_publisher.wallbash-0.0.1/themes/wallbash-color-theme.json"

#// install  ext

for i in "${!codeVsix[@]}" ;do
    if [ ! -f "${codeVsix[i]}/${tgtFile}" ] ; then
        [ -f "${cacheDir}/landin…

Replies: 2 comments 15 replies

Comment options

You must be logged in to vote
9 replies
@kRHYME7
Comment options

@kRHYME7
Comment options

@kRHYME7
Comment options

@kRHYME7
Comment options

Answer selected by KitsuneKode
@KitsuneKode
Comment options

@KitsuneKode
Comment options

@kRHYME7
Comment options

@KitsuneKode
Comment options

Comment options

You must be logged in to vote
6 replies
@kRHYME7
Comment options

@KitsuneKode
Comment options

@kRHYME7
Comment options

@KitsuneKode
Comment options

@KitsuneKode
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants