comparison rc/bashrc @ 374:792b49cd912a

Also nuke bash-completion.
author Edho Arief <edho@myconan.net>
date Tue, 03 Jul 2012 08:22:55 +0700
parents ad07799cf765
children 7ceaf3cd8eea
comparison
equal deleted inserted replaced
373:e4e89f69453a 374:792b49cd912a
13 13
14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before" 14 [ -f "${HOME}/.ecos_bash.before" ] && . "${HOME}/.ecos_bash.before"
15 15
16 # Nuke currently defined functions 16 # Nuke currently defined functions
17 unset -f $(set | grep -E ' ()$' | cut -d ' ' -f 1) 17 unset -f $(set | grep -E ' ()$' | cut -d ' ' -f 1)
18
19 # Nuke bash-completion
20 complete -r
18 21
19 _org_path="${PATH}" 22 _org_path="${PATH}"
20 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin" 23 export PATH="${HOME}/.ecos_bin:${HOME}/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin"
21 # OpenJDK in pkgsrc 24 # OpenJDK in pkgsrc
22 PATH="${PATH}:/usr/pkg/java/openjdk7/bin" 25 PATH="${PATH}:/usr/pkg/java/openjdk7/bin"