8 reputation
3
bio website
location Malmö, Sweden
age 24
visits member for 1 year, 11 months
seen Jun 30 at 8:21

Studying computer science (if "datateknik" translates to that) in Lund, Sweden.


Jan
8
comment Symlink or move AppData back to SSD?
Thanks, updated question.
Jan
8
revised Symlink or move AppData back to SSD?
added 170 characters in body
Jan
8
revised Symlink or move AppData back to SSD?
added 5 characters in body
Jan
8
asked Symlink or move AppData back to SSD?
Jun
21
awarded  Student
Jan
28
comment Cancelling scheduled chkdisk on Win7
That sounds promising! Is there also a time-based prompt before the chkdisk begins or will it begin instantly if I miss the F8? If I miss the F8, should I do a hard reboot and try again?
Jan
28
asked Cancelling scheduled chkdisk on Win7
Sep
9
comment How can I remove the “path prefix line” from zsh on Cygwin?
Okay, I will try that when I have some free time, just wanted to get a decent terminal environment up and going for my Perl/Prolog course. I switched back from Console2 to Cygwin as I couldn't figure out how to get UTF-8 in Console2, but I am still using zsh. I will definitely try your ConEmu, as I am not 100 % satisfied with my current.
Sep
8
comment How can I remove the “path prefix line” from zsh on Cygwin?
There, I'm satisfied for now: db.tt/tXLigPMr :)
Sep
8
comment How can I remove the “path prefix line” from zsh on Cygwin?
basename pwd``!
Sep
8
awarded  Scholar
Sep
8
accepted How can I remove the “path prefix line” from zsh on Cygwin?
Sep
8
comment How can I remove the “path prefix line” from zsh on Cygwin?
Okay, so PROMPT='$(whoami|tr A-Z a-z)@$(hostname|tr A-Z a-z):$(pwd|tr A-Z a-z)$ ' did the trick. Now I get viktor@inet:/home/viktor$. Although I would like to just have the last directory, i.e. viktor@inet:subfolder$ or viktor@inet:~$ when in my home folder (which viktor is), but that's maybe too much to ask for?
Sep
8
comment How can I remove the “path prefix line” from zsh on Cygwin?
I have set PROMPT_SUBST, but I can't figure out how to use your code. How do I "map" hostname to get its value from %M? Right now I have PROMPT='%n@$(%M|tr A-Z a-z):%1~$ '. I'm sorry, I have tried reading the documentation I could find, but it doesn't make sense for me.
Sep
8
comment How can I remove the “path prefix line” from zsh on Cygwin?
Thanks a bunch! (I thought mintty was a shell as it was categorized under shells in the Cygwin package installer.) Anyways, I wrote a simple prompt variable which imitates the default terminal shell in the latest Ubuntu: PROMPT = '%n@%M:%1~$ ' | tr 'A-Z' 'a-z'. Although, my pipe tr does not seem to do anything. It's just an estetic change, but I would like to have it. That is, I want the whole PROMPT to be lowercased.
Sep
8
comment How can I remove the “path prefix line” from zsh on Cygwin?
I might have to brush up on my terminology then. ;) "Prompt" does ring a bell though. Anyway, great explanation and now I have something to go on: my googlings for "cygwin remove prefix line thingie" didn't return much. Which would be the ideal shell to use as a beginner? I downloaded zsh in hope that it would change the prompt to my liking (as I think I've used zsh or xterm in Ubuntu). Is bash a stand-alone shell? I thought I read that Cygwin uses mintty as default—is bash and mintty connected somehow?
Sep
8
awarded  Editor
Sep
8
revised How can I remove the “path prefix line” from zsh on Cygwin?
added 84 characters in body
Sep
8
asked How can I remove the “path prefix line” from zsh on Cygwin?