Add 'sdir' snippet. Useful for sourcing configs, etc.
This commit is contained in:
parent
1fa2a713e1
commit
950d3f3401
@ -38,3 +38,6 @@ snippet go
|
||||
${4:#staments};;
|
||||
esac
|
||||
done
|
||||
# Set SCRIPT_DIR variable to directory script is located.
|
||||
snippet sdir
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||
|
Loading…
Reference in New Issue
Block a user