Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 643 Bytes

README.md

File metadata and controls

27 lines (20 loc) · 643 Bytes

Useful collection of bash aliases and functions that I use on my Unix machines


To make bash scripts executable use:

$chmod u+x fileName

My location of the bin folder is in my $HOME directory, therefore this needs to be added to the .bashrc file:

if [ -d "$HOME/bin" ] ; then

    export PATH="$HOME/bin:$PATH"
    export PATH="$HOME/bin/OpenFOAM:$PATH"
    
    if [ -f "$HOME/bin/aliases" ]; then
        source $HOME/bin/aliases
    fi
    
    if [ -f "$HOME/bin/functions" ]; then
        source $HOME/bin/functions
    fi
fi

OpenFOAM folder consists of various functions and dicts useful for use with OpenFOAM.