summaryrefslogtreecommitdiffstats
path: root/bashrc/common
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bashrc/common/alias.sh8
-rw-r--r--bashrc/common/shopt.sh3
2 files changed, 3 insertions, 8 deletions
diff --git a/bashrc/common/alias.sh b/bashrc/common/alias.sh
index 5d73269..c1e9b6b 100644
--- a/bashrc/common/alias.sh
+++ b/bashrc/common/alias.sh
@@ -34,14 +34,6 @@ mkcd() {
mkdir -p $1 && cd $1
}
-# encode files suitable for copy&paste into other terminals
-copy() {
- STR=$(tar cj $@ | perl -MMIME::Base64 -e 'print MIME::Base64::encode(join("", <>))' - ; exit $PIPESTATUS) || return $?
- echo "cat << E=O=F | perl -MMIME::Base64 -e 'print MIME::Base64::decode(join(\"\", <>))' - | tar xj"
- echo "$STR"
- echo "E=O=F"
-}
-
# create tarball of one directory
mktar() {
[[ -z "$1" ]] && return 1
diff --git a/bashrc/common/shopt.sh b/bashrc/common/shopt.sh
index 07a796a..2e27c43 100644
--- a/bashrc/common/shopt.sh
+++ b/bashrc/common/shopt.sh
@@ -1,5 +1,8 @@
# bash configuration
+# local programs
+export PATH="${HOME}/.bash/bin:${PATH}"#
+
# basic search path for chdir
export CDPATH=".:~"