From e993528142696511aafc9ce9cb3d6228186f1704 Mon Sep 17 00:00:00 2001 From: Miquel Sabaté Date: Mon, 17 Nov 2014 12:38:24 +0100 Subject: bash: added the `scripts` repo to the $PATH. --- bashrc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bashrc') 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" -- cgit v1.2.3