aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index 5f7ad02..3e68750 100644
--- a/bashrc
+++ b/bashrc
@@ -89,6 +89,12 @@ if [ -f $HOME/.tdcompletion.sh ]; then
source $HOME/.tdcompletion.sh
fi
+# Add the `scripts` dir to the path if possible. See:
+# https://github.com/mssola/scripts.
+if [ -d $HOME/.scripts ]; then
+ export PATH=$HOME/.scripts:$PATH
+fi
+
# Generates a PDF version of the manual of the given command.
function manpdf() {
man -t "$1" | ps2pdf - "$1.pdf"