whenever I need to run a program I wrote in c++ I have to type ./ before the program or it wont run. How do I make it so when In terminal instead of ./program all I have to type is program?
>>9
Because only hippster faggots use zsh, and only curmudgeonly long bearded Solaris vets use csh.
The rest of us grew up with bash an like it. So piss off.
>>10
Wait, I'm a curmudgeonly long bearded Solaris vet and I hate csh.
Name:
Anonymous2010-02-03 18:03
When I use a shell, I don't want eight extra KILOBYTES of worthless tab completion and job control! I just want a shell!!
Not a "bashell". Not a "zshell". Those aren't even WORDS!!!!
SH! SH! SH IS THE STANDARD!!!
>>1
That will open you up to attack. What happens when somebody slips a program into a folder and you run it by mistake when you meant to run a system command? If you really want to do it, add . to your path, dummy. But for the love of Sus, add it to the end so system commands will be found before stuff in the folder.
>>1 is the kind of lazy people who run scripts using . script instead of giving them the execution bit. Then the scipt uses exit 1 to signal an error and he gets puzzled why the considered unharmful script logs him out.
>>11
Fish is nice but has its problems, but it's still my default shell. Of course, no one else uses it, so I have to write all my scripts against /bin/bash.
>>21
This is the main reason I'm giving up fish. I refuse to learn dead-end languages if I can help it. The only thing I actually liked was syntax highlighting to show me if I misspelled a command. Fish is noticeably slow (try running `ls; ls; ls; ls; ls;` repeatedly in fish vs bash); it doesn't save functions into an easily editable .fishrc (or at least I couldn't find one), instead forcing you to use `funced` instead of your favorite text editor to edit them.
Name:
Anonymous2010-02-05 13:57
Get out of the 70s already.
Name:
Anonymous2010-02-05 17:39
/prog/, let's band together to create the ultimate shell: CRUSH (Common Rispu Ultimate SHell).
Name:
Anonymous2010-02-05 18:45
add '.' to your $PATH variable.
don't do it though, it's something of a security risk.
Name:
Anonymous2010-02-05 19:11
>>33
Also written as クラシュ!! can be interpreted as CLASH!! or CRUSH!!
I like that idea.