Difference between revisions of "Bashrc"
From kunz
Views
Actions
Namespaces
Variants
Tools
(Created page with "https://unix.stackexchange.com/questions/129143/what-is-the-purpose-of-bashrc-and-how-does-it-work <syntaxhighlight lang='bash'> cd /Applications/Houdini/Houdini19.0.561/Frame...") |
|||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
https://unix.stackexchange.com/questions/129143/what-is-the-purpose-of-bashrc-and-how-does-it-work | https://unix.stackexchange.com/questions/129143/what-is-the-purpose-of-bashrc-and-how-does-it-work | ||
OSX used to look for ~/.bash_profile | |||
Newer builds of OSX use zsh which looks for ~/.zprofile | |||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
# https://unix.stackexchange.com/questions/2897/clicolor-and-ls-colors-in-bash | |||
export CLICOLOR=1 | |||
# https://linuxhint.com/ls_colors_bash/ | |||
export LSCOLORS=GxFxCxDxBxegedabagaced | |||
alias ll='ls -lah' | |||
# Applications | |||
alias rv='/Applications/RV64.app/Contents/MacOS/RV64' | |||
# Houdini enviornment setup | |||
HOUDINI_13_VERSION=13.0.665 | |||
HOUDINI_14_VERSION=14.0.444 | |||
HOUDINI_15_VERSION=15.0.393 | |||
HOUDINI_155_VERSION=15.5.480 | |||
alias h13='cd /Library/Frameworks/Houdini.framework/Versions/${HOUDINI_13_VERSION}/Resources;source houdini_setup;cd ' | |||
alias h14='cd /Library/Frameworks/Houdini.framework/Versions/${HOUDINI_14_VERSION}/Resources;source houdini_setup;cd ' | |||
alias h15='cd /Library/Frameworks/Houdini.framework/Versions/${HOUDINI_15_VERSION}/Resources;source houdini_setup;cd ' | |||
cd /Applications/Houdini/Houdini19.0.561/Frameworks/Houdini.framework/Versions/19.0/Resources;source houdini_setup;cd - &> /dev/null | cd /Applications/Houdini/Houdini19.0.561/Frameworks/Houdini.framework/Versions/19.0/Resources;source houdini_setup;cd - &> /dev/null | ||
export HDRI='/path/to/HDRIs/' | |||
</syntaxhighlight> | </syntaxhighlight> |
Latest revision as of 02:31, 31 July 2022
https://unix.stackexchange.com/questions/129143/what-is-the-purpose-of-bashrc-and-how-does-it-work
OSX used to look for ~/.bash_profile
Newer builds of OSX use zsh which looks for ~/.zprofile
# https://unix.stackexchange.com/questions/2897/clicolor-and-ls-colors-in-bash export CLICOLOR=1 # https://linuxhint.com/ls_colors_bash/ export LSCOLORS=GxFxCxDxBxegedabagaced alias ll='ls -lah' # Applications alias rv='/Applications/RV64.app/Contents/MacOS/RV64' # Houdini enviornment setup HOUDINI_13_VERSION=13.0.665 HOUDINI_14_VERSION=14.0.444 HOUDINI_15_VERSION=15.0.393 HOUDINI_155_VERSION=15.5.480 alias h13='cd /Library/Frameworks/Houdini.framework/Versions/${HOUDINI_13_VERSION}/Resources;source houdini_setup;cd ' alias h14='cd /Library/Frameworks/Houdini.framework/Versions/${HOUDINI_14_VERSION}/Resources;source houdini_setup;cd ' alias h15='cd /Library/Frameworks/Houdini.framework/Versions/${HOUDINI_15_VERSION}/Resources;source houdini_setup;cd ' cd /Applications/Houdini/Houdini19.0.561/Frameworks/Houdini.framework/Versions/19.0/Resources;source houdini_setup;cd - &> /dev/null export HDRI='/path/to/HDRIs/'