From 7b8963cc41cd1e01fc660ef3f6e5519edae690bd Mon Sep 17 00:00:00 2001 From: David Thurstenson Date: Tue, 27 Nov 2018 22:59:50 -0600 Subject: [PATCH] Added a source statement to add a local bashrc for fine tuning --- .bashrc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.bashrc b/.bashrc index 275e062..f4a5fbd 100644 --- a/.bashrc +++ b/.bashrc @@ -172,9 +172,7 @@ p Upload to a pastebin (defined in function) return ;; esac - - #Y: Where to put the result - case ${1:1:1} in +#Y: Where to put the result case ${1:1:1} in # Save to file f) msgd="file: $destdir/$fname" ;; @@ -198,10 +196,7 @@ p Upload to a pastebin (defined in function) printf "Captured %s -> %s\n" "$msgt" "$msgd" # If destination is a pastebin, do the needful [[ "$paste" ]] && $pb "$fpath" -} - -fontfind() { - if [[ -z $1 || ${#1} -gt 1 ]]; then +} fontfind() { if [[ -z $1 || ${#1} -gt 1 ]]; then printf "E: only one character accepted" fi local glyph=$1 @@ -216,3 +211,8 @@ vactivate() { fi source $path/bin/activate; bash; deactivate } + +# Append a local bashrc. Meant to give the ability to tune a bashrc for a +# specific environment. These won't be tracked in vcsh. + +source ~/.local.bashrc