DEV Community

Discussion on: App tips for Windows power users

Collapse
 
katnel20 profile image
Katie Nelson

Well, I did this to change it:

function my_prompt_filter()
    cwd = clink.get_cwd()
    clink.prompt.value = cwd..">"
end

Was yours any different?

Thread Thread
 
mareksamec profile image
mareksamec

I don't have the old backups anymore but it was something like this. I removed the git and svn checks because it was slowing down the prompt too much. I just modified these two lines in the local function set_prompt_filter():

    local cmder_prompt = "\x1b[1;32;40m{cwd} \x1b[1;39;40m{lamb} \x1b[0m"
    local lambda = "~$"