.bashrc is the primary configuration file for the bash shell.
6
votes
1answer
364 views
How can I change screen's hardstatus color based on the logged in user?
I haven't edited/created a .screenrc file in a while, but this is what I'm currently using:
# Turn off the screen startup message
startup_message off
# Define format of bottom ...
2
votes
0answers
214 views
Populate PS1 asynchronously
I have a few git svn related functions that see if I have to pull/push from/to the repository.
My problem is that the functions I've wrote to gather these informations are too slow, I'd like to make ...
1
vote
0answers
198 views
How to use history commands with readonly PROMPT_COMMAND?
I'm sometimes logged in on a host which I do not control and where PROMPT_COMMAND is readonly. Is there some way to work around this to run history commands anyway, for example using PS1? I've tried ...
0
votes
0answers
138 views
sftp gives an error: “Received message too long” and what is the reason?
I was able to do sftp yesterday to a RHEL 5.4 box (RedHat) and today I can't.
The message is "Received message too long 778199411", and after some investigation, it was due to my RHEL box's .bashrc ...