aboutsummaryrefslogtreecommitdiff
path: root/bashrc
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2017-09-18 21:04:04 +0200
committerKarel Kočí <cynerd@email.cz>2017-09-18 21:04:04 +0200
commit39da53ab62b710a231cef8cea50bfa316816f2ad (patch)
tree013b95275afb91d4f8e575f5cf942f3429a61789 /bashrc
parent04029c520f4cd1c7fbf9444e6ba5304b632d23f4 (diff)
downloadmyconfigs-39da53ab62b710a231cef8cea50bfa316816f2ad.tar.gz
myconfigs-39da53ab62b710a231cef8cea50bfa316816f2ad.tar.bz2
myconfigs-39da53ab62b710a231cef8cea50bfa316816f2ad.zip
Add completions for usbkey
Diffstat (limited to 'bashrc')
-rw-r--r--bashrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/bashrc b/bashrc
index aee1c22..a5462d5 100644
--- a/bashrc
+++ b/bashrc
@@ -10,6 +10,14 @@ if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
+# Source all completions
+if [ -d ~/.bash_completions ]; then
+ for F in $(find ~/.bash_completions -type f); do
+ . "$F"
+ done
+fi
+
+# PROMPT #######################################################
PS1='$(
if [ `id -u` -eq "0" ]; then
echo -n "\[\e[1;31m\]\u@\h:\[\e[1;34m\]\W\[\e[1;31m\]\$\[\e[0m\] "