Added a source statement to add a local bashrc for fine tuning

This commit is contained in:
David Thurstenson 2018-11-27 22:59:50 -06:00
parent a0b48838d2
commit 7b8963cc41
1 changed files with 7 additions and 7 deletions

14
.bashrc
View File

@ -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