aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorMiquel Sabaté <mikisabate@gmail.com>2014-11-17 12:38:24 +0100
committerMiquel Sabaté <mikisabate@gmail.com>2014-11-17 12:38:24 +0100
commite993528142696511aafc9ce9cb3d6228186f1704 (patch)
tree8018281a3927904854acaa4b846a1df6a8de4455 /bashrc
parentc6202810071c2f38b9fb78bf899416810454cf15 (diff)
downloaddotfiles-e993528142696511aafc9ce9cb3d6228186f1704.tar.gz
dotfiles-e993528142696511aafc9ce9cb3d6228186f1704.zip
bash: added the `scripts` repo to the $PATH.
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"