Tagged Questions
2
votes
1answer
39 views
OS X Mountain Lion Terminal and tabs take ages to load
When I open a new Terminal tab I have to wait at least 10-20 seconds before I can work with it, I have followed previous suggestions here: How do I speed up new Terminal tab loading time?
But so far ...
1
vote
3answers
90 views
Change file association in terminal?
Is there a method for associating file types with applications via terminal? I thought ~/Library/Preferences/com.apple.launchservices.plist might do it, and I also have seen: Why is a command line ...
1
vote
0answers
30 views
Terminal configuration lost after booting up
On OS X 10.8.3, my Terminal.app is configured with my .bashrc file. In my .bash_profile I have:
source .bashrc
It works great, except when I let some Terminal windows opened and shut down the Mac. ...
1
vote
1answer
101 views
Run script on networked user login
The computer lab is running 10.8. I would like to run a script when networked users login. As far as I can tell my choices are:
launchd agents - Not meant for this. On the launchd.plist man page it ...
0
votes
1answer
210 views
Load .bash_profile automatically on Terminal.app startup?
I have seen various questions that ask something similar. They suggest changing .bash_profile to .profile. However this doesn't work either.
I have aliases setup up in .bash_profile. I would like ...
1
vote
1answer
155 views
How to set up multiple PATHs in the user bash_profile in OSX 10.8?
I am looking to set up my laptop for both Python development and Phonegap Android development in OSX 10.8 using Eclipse. I installed the lastest version of Python (3.3) which added the code:
# ...
0
votes
1answer
34 views
Terminal not logged in properly
I'm having a bit of an odd issue with my terminal.
I'm used to the prompt being Joosts-Macbook:~ Joost$ or something of that nature, but all of a sudden it displays a number I don't recognise: ...
4
votes
3answers
534 views
How to run a bash script from the desktop?
I have a .sh file with a #!/bin/bash header. I'm able to run it from the terminal, using chmod and ./ but is there a way to perform these two operations from the desktop (i.e. by clicking on it) ?
...
0
votes
0answers
31 views
pbpaste and aira2
I'm creating alias to do few things and run into a problem:
Alias executes couple commands and on success starts download of resulting url, which is being copied into clipboard. Everything works fine, ...
7
votes
1answer
661 views
mount is adding a quarantine flag, causing: /bin/bash: bad interpreter: Operation not permitted - but not the usual suspects
OK, I'm having a similar problem to: -bash: Applications/mvim: /bin/sh: bad interpreter: Operation not permitted - but it's not the same problem. I'm getting the same result.
I've already verified ...
2
votes
1answer
246 views
Copy contents of a smart folder to a new folder in Mountain Lion
I admit that my music collection is a royal mess. This is the result of merging many sources of music (external drive, old iPod sync, iTunes purchases, etc) into my iTunes account. iTunes Match has ...
2
votes
3answers
7k views
Change Command Prompt - Variables are literal, and changes to .bashrc or .bash_profile not making a difference
Trying to change my command prompt in OS X 10.8 / Mountain Lion. Changes to ~/.bashrc and ~/.bash_profile do not make any difference. Like:
export PS1="\W \$"
It defaults to the host name ("\h\%"). ...
1
vote
2answers
839 views
How to fix locate.updatedb not respecting directory excluded from /etc/locate.rc?
I wanted to exclude some directories from the results of /usr/libexec/locate.updatedb by editing /etc/locate.rc. Unfortunately if I edit locate.rc locate.updatedb runs forever and does not actually ...