Added a source statement to add a local bashrc for fine tuning
This commit is contained in:
parent
a0b48838d2
commit
7b8963cc41
14
.bashrc
14
.bashrc
|
@ -172,9 +172,7 @@ p Upload to a pastebin (defined in function)
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
esac
|
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
|
# Save to file
|
||||||
f) msgd="file: $destdir/$fname"
|
f) msgd="file: $destdir/$fname"
|
||||||
;;
|
;;
|
||||||
|
@ -198,10 +196,7 @@ p Upload to a pastebin (defined in function)
|
||||||
printf "Captured %s -> %s\n" "$msgt" "$msgd"
|
printf "Captured %s -> %s\n" "$msgt" "$msgd"
|
||||||
# If destination is a pastebin, do the needful
|
# If destination is a pastebin, do the needful
|
||||||
[[ "$paste" ]] && $pb "$fpath"
|
[[ "$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"
|
printf "E: only one character accepted"
|
||||||
fi
|
fi
|
||||||
local glyph=$1
|
local glyph=$1
|
||||||
|
@ -216,3 +211,8 @@ vactivate() {
|
||||||
fi
|
fi
|
||||||
source $path/bin/activate; bash; deactivate
|
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
|
||||||
|
|
Loading…
Reference in New Issue