Hot answers tagged terminal
Searching Google for "homebrew command-not-found" (without the quotes) one of the results was: Ubuntu’s command-not-found equivalent for Homebrew on OSX I have not personally tried using it, so I cannot comment on how well it may work.
Stretch goal! To expand on the answer above (because the more appropriate related question is marked as a dupe and can't recieve new answers)... I've added a function to my ~/.bash_profile to handle revealing a file or directory: # Reveal a file or directory in Finder # ..expects only one argument # the argument is quoted to accommodate spaces in the ...
Assuming you're fairly default and using bash: http://www.tuxarena.com/2012/04/tutorial-colored-man-pages-how-it-works/ Short version: Add the following to your .bashrc file: export LESS_TERMCAP_mb=$(printf '\e[01;31m') # enter blinking mode – red export LESS_TERMCAP_md=$(printf '\e[01;35m') # enter double-bright mode – bold, magenta export ...
One option is to use zsh, which has a CORRECT option that will suggest commands with a "nearby" spelling. Personally, I use zsh and prezto, which results in this: It's nice because the command is red while typing if it's not a valid program name, which means I usually catch the typo before I even press enter. Valid command names are green, though, so I ...
What you are really looking for is a smbclient alternative using smbutil but just like you, I couldn't make it work. So what you can do is to install samba with homebrew like this: brew install samba If brew link complains with: Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could ...
beroe, I love your answer. Let me add a little detail… tell application "Google Chrome" activate end tell could be change to: tell application "Google Chrome" to activate Make you skip two lines… ;-)
Only top voted, non community-wiki answers of a minimum length are eligible