More Mac OS Tips
Some Mac Tips...
Copy and Paste
-
To paste a path into an Open dialog do:
⌘ + SHIFT + G
to open the go to dialog, then:
CTRL + V
to paste.
Links
Create a link to an application so I can easily run from a shell:
ln -s "/Applications/Sublime\ Text.app/Contents/SharedSupport/bin/subl" ~/bin/subl
Bash
Bash setting are in the .profile
file.
To set a path:
export PATH=~/bin:$PATH
To create an alias to a command:
alias qc="~/bin/qc.sh"
Then reload the .profile
using the following from your home directory:
. ./.profile
(Use ls -a
to show .
files)