I got following error when I tried debugging go program in IntelliJ on my mac.
could not launch process: exec: "lldb-server": executable file not found in $PATH
To fix the error, try installing Xcode as suggested in Event Log
I recently switched to zsh and it looks good so far. I am not a heavy terminal user but features like auto-complete, aliases, oh-my-zsh are very useful and looks fancier. I am not posting all the steps needed to enable zsh but here are quick fixes for two issues I found.
Enabling subl command
Add following sublime alias open files in Sublime directly from terminal
alias subl="'/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl'"
Enable regular shell commands
Uncomment following line in .zshrc file
Do not forget to restart terminal or $ source ~/.zshrc to activate the changes.
As a developer, I spent significant amount of time in just typing some commands on terminal. And sometimes I figure it out I typed command wrongly in mid way of execution. I felt the need to to add shortcut commands/custom commands to Terminal to save my time. Here is how I added custom commands to my MAC. OS X terminal comes with .bash_profile file and it will be run every time you open a new terminal. So you can add custom commands, like following, to that file.
#Build maven project
mvn clean package
#Open firefox application, with a argument
open -a /Applications/Firefox.app/ "$1"
If you want to keep custom commands in a separate file, you can create .custom-commands.bash hidden shell script file and include it in .bash_profile like below.
Whenever I goto java docs website for any class description, I always pause for a second and ask myself “is there any quicker and easy way to lookup java class info?”. Here is the one, easy and quick in many ways. Besides java, it supports most of the typical programming language documentation sets.
Links: Dash website, Mac app store